As the question is improper, I feel like providing an improper answer. "...it works for me."
On Sun, Jul 10, 2011 at 2:15 PM, Michael Pavling <pavl...@gmail.com> wrote: > On 10 July 2011 08:20, Amrit Pal Pathak <amritpalpath...@gmail.com> wrote: > > I am using rails 3.0.7.i validate a field in form by inserting following > > line in model > > class Post < ActiveRecord::Base > > validates_presence_of :title > > end > > But i didn't work.Is there any syntax change in rails > > 3.0.7? > > "It doesn't work"? HOW MANY TIMES? How often are people going to have > to ask you to ASK INTELLIGENT QUESTIONS?! > > Please read this: > http://www.catb.org/~esr/faqs/smart-questions.html > > ..as it explains how to ask a question, and highlights the likely > outcomes of asking poorly framed questions (although, given the > responses you get... or rather, that you don't get - since very few > people answer you more than once... you might have thought you would > have started to gather these for yourself) > > :-/ > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.