Ruby on Rails Discussions
What is wrong with validates_presence_of :my_association ?
rubyonrails-talk
radar
(Ryan Bigg)
January 9, 2009, 12:59am
1
That will check the value for a field called category, not an
association.
Related topics
Topic
Replies
Views
Activity
What is wrong with validates_presence_of :my_association ?
rubyonrails-talk
0
120
January 9, 2009
What is wrong with validates_presence_of :my_association ?
rubyonrails-talk
0
112
January 9, 2009
Problem with validates_presence_of in linking table
rubyonrails-talk
0
116
September 30, 2006
Validation with Ruby on Rails
rubyonrails-talk
0
107
January 6, 2007
validates :presence => association_name
rubyonrails-docs
4
245
November 23, 2011