aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/examples/validations.rb
Commit message (Collapse)AuthorAgeFilesLines
* adding load_path to include active_model in the load path of exampleVijay Ubuntu2013-10-091-0/+1
| | | | similar to activerecord/examples/simple.rb
* Replaced older rocket sign to new :Ankit Gupta-FIR2013-07-041-1/+1
|
* replace all older rocket sign to new ":" from examples of active record and ↵Rajarshi Das2013-06-241-1/+1
| | | | active models
* displaying error message(p tag was missing) and adding output as comment Abhishek Nalwaya2012-11-191-3/+3
|
* Require persisted? in ActiveModel::Lint and remove new_record? and ↵José Valim2010-02-211-1/+1
| | | | destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
* Fix deprecated gem-name requiresJeremy Kemper2009-09-141-1/+1
|
* Clean up validation exampleJoshua Peek2009-07-211-0/+29