Ruby on Rails Monday, January 3, 2011

Tony Primerano wrote in post #972129:
> Yeah. I guess ruby is making me lazy. ;-)
>
> I'll set all my NULLs to false and validate presence.

Remember to make the field NOT NULL in the DB. Rails validations are
insufficient.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org

Sent from my iPhone

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment