Re: [Rails] Re: Re: ActiveRecord relation validation in Rails 3.1

2011-12-23 Thread bala kishore pulicherla
validates :item_code, :presence => true, :uniqueness => { :scope => user_id} try this way On Fri, Dec 23, 2011 at 3:32 PM, Dharmdip Rathod wrote: > Dharmdip Rathod wrote in post #1037996: > > I had already gone through. so my reply was quick. > > > > :) > > By the way, > > Thanks All for quick

[Rails] Re: Re: ActiveRecord relation validation in Rails 3.1

2011-12-23 Thread Dharmdip Rathod
Dharmdip Rathod wrote in post #1037996: > I had already gone through. so my reply was quick. > > :) By the way, Thanks All for quick reply and support. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"

[Rails] Re: Re: ActiveRecord relation validation in Rails 3.1

2011-12-23 Thread Dharmdip Rathod
I had already gone through. so my reply was quick. :) -- 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