Colin Wu wrote:
> Don't know if you found a solution to this but here's mine: In my 
> database definition I make the default value a '-' (or some other 
> non-meaningful value) for a varchar field, or 0 for an int field. 

Terrible idea.  This is meaningless default data that is only neede for 
display reasons, and as such has no place in the DB.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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 [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