Gabriel Saravia wrote: > Also, is it just me because I'm too new, or is the > "before_validation_on_create" callback not talked about enough?
As me for me, I set my defaults in the migration (and hence the database) rather than initializing attributes with callbacks. I don't know if that's exactly the right way to do it, but it seems to work well as far as I can tell. ... ... t.boolean :bool_value, :default => false ... ... -- 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 post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---