Winn.ws

Wonderful Ruby on Rails

Well, after spending a week with ruby on rails I find it is very easy to pickup and start using. I don’t think I will have a release of any products with it, yet. I found the hardest part for me was learning the syntax and not putting a “;” behind every line. But I have the same learning curve with ASP, altogether it’s a nice programming language! I will continue to work on my skills, and share with you.

Here is a small validation trick I have picked up.

  1. validates_presence_of :your_table
  2. validates_length_of :your_table, :minimum => 10
  3. validates_length_of :your_table, :maximum=> 200
  4. Validation (Ruby on Rails)
posted in: Uncategorized 10.30.07