Let's try calling before? on a date object in Rails 5.2. ... (Date.new(2019, 4, 1)) 7 8=> false 9 10> > DateTime.parse('2019-03-31').before?
確定! 回上一頁