how to set a maximum length for text area in rails
on 2007-03-20 12:11
on 2007-03-20 15:09
Have you checked out the API at http://api.rubyonrails.org/ ? 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]. RSL
on 2007-03-20 15:25
Shiva Shiva wrote: > how to set a maximum length for text area in rails <label for="profile_comment">Comment:</label><br /> <%= f.text_area :comment, :cols => 30, :rows => 5 %> When did forum members get so narky and unwilling to help? It would have taken less characters to provide the answer than to give a lecture on where to find it!
on 2007-03-20 15:45
on 2007-03-20 16:15
on 2007-03-20 17:14
About the time that shiva shiva posted four very, _VERY_ basic questions within an hour or so which seemed to indicate he [or she] needed something a little more comprehensive than a simple reply about how to solve _one_ question. I really did mean it helpfully. Heck, I ask a hell of a lot of questions sometimes. Moreso in the #rubyonrails channel but whatever. I know sometimes you really do need to RTFM. :/ RSL
on 2007-03-20 17:17
As the saying goes "Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." Tough love probably wasn't the best description. Consider it more of a nudge in the right direction.