Role of :base in validates_with (section 3.11 of the Active Record Validations and Callbacks guide)

15 views
Skip to first unread message

Manuel Menezes de Sequeira

unread,
Oct 3, 2011, 11:35:20 AM10/3/11
to rubyonra...@googlegroups.com
Hi all!

Anyone knows what's the meaning of the :base attribute name in section  3.11 of the Active Record Validations and Callbacks guide (http://guides.rubyonrails.org/active_record_validations_callbacks.html#validates_with)?

Thanks,

--Manuel

Manuel Menezes de Sequeira

unread,
Oct 3, 2011, 12:24:31 PM10/3/11
to rubyonra...@googlegroups.com
The answer is in http://guides.rubyonrails.org/active_record_validations_callbacks.html#errors-base. I should have looked for it more carefully. Sorry.
Reply all
Reply to author
Forward
0 new messages