> Activerecord sets the columns that are not specified to NULL. Postgres
> presumes that since your insert statement said to set the column to
> null you meant to set it null and ignores the default.  Is there a way
> to tell activerecord not set missing attributes to null?

This might be useful.  https://github.com/FooBarWidget/default_value_for

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to