Online Test Banks
Score higher
See Online Test Banks
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Ruby on Rails Validation Helpers

Part of the Ruby on Rails For Dummies Cheat Sheet

When you create a Web site or Web application with Ruby on Rails, you need to make sure that you input data in a form that Rails recognizes and can use. The following table contains Rails validation helpers:

validates_acceptance_of validates_inclusion_of
validates_associated validates_length_of
validates_confirmation_of validates_numericality_of
validates_each validates_presence_of
validates_exclusion_of validates_size_of
validates_format_of validates_uniqueness_of
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

Ruby on Rails For Dummies Cheat Sheet


Inside Sweepstakes

Win $500. Easy.