Tuesday, January 24, 2012

[Rails] Scope in Rails model vaidation

Hi all,

I have a requirement were the following is to be done:

A user can belong to single chapter. Chapter has many channels.. So a
particular user can only be a part of a single chapter. How can i do
this validation in rails 3?

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate