aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* Fix typo by renaming :genre to :gender.José Valim2010-01-091-1/+1
* Allow validates to map some types to specific options. So now you can do:José Valim2010-01-082-15/+36
* Compile length validator options still at the class level, so whenever the va...José Valim2010-01-083-44/+24
* Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in val...José Valim2010-01-072-9/+19
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-0712-96/+236
* Allow to specify default attributes names translation in I18n yml files.José Valim2010-01-071-2/+3
* Errors messages are now moved from :activerecord.errors to simply :errors on ...José Valim2010-01-072-28/+26
* Autoload AS test caseJoshua Peek2010-01-041-2/+0
* MergeDavid Heinemeier Hansson2010-01-034-6/+25
|\
| * Add missing tests to Validators.José Valim2010-01-031-1/+2
| * Add naming to AMo::LintJosé Valim2010-01-021-0/+14
| * Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-022-3/+6
| * Be sure to convert namespaced names to we have 'Parrots name' instead of 'Par...José Valim2010-01-021-2/+3
* | Change the ActiveModel::Base.include_root_in_json default to true for Rails 3...David Heinemeier Hansson2010-01-031-5/+3
|/
* Ruby 1.9.2: explicit coercion check no longer needed; bug fixed upstreamJeremy Kemper2010-01-011-4/+0
* Some railties cleanup:Carl Lerche2009-12-311-0/+0
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-311-1/+2
* Add a /rails.rb for each framework for consistencyCarl Lerche2009-12-311-0/+1
* Move ActiveRecord callbacks implementation to ActiveModel and make use of it.José Valim2009-12-281-0/+91
* Merge commit 'josevalim/validations'Jeremy Kemper2009-12-2814-281/+311
|\
| * No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-35/+0
| * Small clean up in Naming and TTranslation tests.José Valim2009-12-232-25/+23
| * ActiveRecord::Validations are now built on top of Validator as well.José Valim2009-12-233-6/+11
| * validates_each uses a BlockValidator.José Valim2009-12-234-41/+48
| * Added check_validity! to EachValidator and refactor existing ones.José Valim2009-12-235-74/+90
| * Move validations in ActiveModel to validators, however all validatity checks ...José Valim2009-12-2310-153/+195
| * Validator is simply sent to validate method. However, the API needs to change...José Valim2009-12-222-9/+6
* | All AMo modules are safe to deferJoshua Peek2009-12-221-0/+1
|/
* Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attemptsJeremy Kemper2009-12-061-0/+4
* Uses Hash#reverse_mergeJeremy Kemper2009-11-131-0/+2
* Fix error_messages_for when instance variable names are given.José Valim2009-10-211-0/+3
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-205-14/+142
* Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-6/+4
* Rewrite ActiveModel::Lint as a simple TU mixinJoshua Peek2009-10-071-48/+30
* Fixed behavior of attribute_methods_generated? [#3220 state:resolved]Sam Pohlenz2009-10-071-1/+1
* Don't share attribute matchers between classes [#3216 state:resolved]Sam Pohlenz2009-10-071-1/+4
* Use ActiveModel::TestCase base classJeremy Kemper2009-09-241-3/+3
* fixed ActiveModel::Lint typos [#3236 state:resolved]lakshan2009-09-211-4/+3
* Fix typo.Brian Donovan2009-09-171-1/+1
* Ensure validation errors to be ordered in declared orderAkira Matsuda2009-09-111-1/+2
* Refactor new callbacks and AR implementation.José Valim2009-09-081-2/+2
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-084-34/+28
* Fix warnings in AMoJoshua Peek2009-09-052-2/+3
* Kill AMo observing wrap_with_notifications since ARes was only using itJoshua Peek2009-09-021-17/+0
* License, version, and gemspec for ActiveModel. Ship it!Joshua Peek2009-08-311-0/+9
* added proc and symbol support to validates_numericality_of [#3049 state:resol...Kane2009-08-311-1/+20
* I added this feature so that a Map of changed fields could be retrievedJosh Sharpe2009-08-311-0/+14
* Initial AMo Lint implementationYehuda Katz2009-08-291-0/+96
* Break up concerns for choosing what attributes should be serialized and the a...Joshua Peek2009-08-134-98/+86
* Extract common dirty tracking methods in AMoJoshua Peek2009-08-101-0/+112