You mean like the 'id' column? On Feb 15, 9:42 pm, Will Bryant <[email protected]> wrote: > non-constant default values is a thing that not many people use with > an ORM layer, and does not fit well into the ORM lifecycle; for > example, it is expected that when you initialize a new record, the > attributes on that record should all be fit to display. If the > attribute value isn't determined until the record gets inserted into > the database, that's a no-go. (Similarly you'd need to reload the > attributes after insert to find their values after save.) As a
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
