By accident, I just realized that an ActiveRecord date field can be set using a third way...
foo = Fo.new foo.start_date = Date.new(2016, 1, 31) foo.start_date = '2016-01-31' and to my surprise... foo.start_date = '31/1/2016' Where can I find documentation on this? I've searched to the point of wasting my time. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a0be3268ad26ee27bf62a56db7d777fa%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.