how to set a maximum length for text area in rails

Have you checked out the API at ? It’s really handy and it’s free. Also there are quite a few good books you can get to learn Ruby on Rails. I highly recommend Agile Web Development with Rails [2nd Edition].