Re: [Rails] Scope in Rails model vaidation

2012-01-25 Thread Colin Law
On 25 January 2012 06:49, angel david wrote: > 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? If a use

[Rails] Scope in Rails model vaidation

2012-01-24 Thread angel david
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