I want to limit blog entry to 500 words. How do I do and handle it. Thank you. PS: new bee.
on 2007-05-23 23:21
on 2007-05-23 23:33
On May 23, 2007, at 5:21 PM, Ravindraraj Mamadgi wrote: > > I want to limit blog entry to 500 words. > > How do I do and handle it. Take a look at: http://rails.rubyonrails.org/classes/ActiveRecord/... ClassMethods.html#M000942 James. -- James Stewart Blog: http://jystewart.net/process/
on 2007-05-23 23:34
i would use validates_length_of and suggest you get a copy of Agile Web Development w/ Rails. it will probably help you quite a bit.
on 2007-05-24 00:27
Thank you. I am completely new and getting familiar with all the things available. I am reading that book also.