Limiting text tinput

I want to limit blog entry to 500 words.

How do I do and handle it.

Thank you.

PS: new bee.

On May 23, 2007, at 5:21 PM, Ravindraraj M. 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/Validations/
ClassMethods.html#M000942

James.


James S.
Blog: http://jystewart.net/process/

i would use validates_length_of

and suggest you get a copy of Agile Web D. w/ Rails.
it will probably help you quite a bit.

Thank you.

I am completely new and getting familiar with all the things available.
I am reading that book also.