1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test
Prem Sichanugrist 8f97e9d19a Add validators reflection so you can do 'Person.validators' and 'Person.validators_on(:name)'.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-21 12:37:46 +01:00
..
cases Add validators reflection so you can do 'Person.validators' and 'Person.validators_on(:name)'. 2010-02-21 12:37:46 +01:00
fixtures Add test sqlite3 db to .gitignore 2009-03-20 11:22:27 +00:00
models Require persisted? in ActiveModel::Lint and remove new_record? and 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. 2010-02-21 11:12:14 +01:00
validators Add validates method as shortcut to setup validators for a given set of attributes: 2010-01-07 19:23:59 +01:00
config.rb Make Active Model test suite similar to Active Record 2009-03-20 10:32:24 +00:00
schema.rb Add ActiveModel::Validations tests for regular ruby classes 2009-03-20 22:21:27 +00:00