aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Move ActiveRecord callbacks implementation to ActiveModel and make use of it.José Valim2009-12-282-0/+92
* Merge commit 'josevalim/validations'Jeremy Kemper2009-12-2815-284/+315
|\
| * No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-232-36/+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-235-41/+49
| * 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-2311-155/+198
| * Validator is simply sent to validate method. However, the API needs to change...José Valim2009-12-222-9/+6
* | Use i18nJeremy Kemper2009-12-271-0/+1
* | All AMo modules are safe to deferJoshua Peek2009-12-222-23/+20
* | Flip deferrable autoload conventionJoshua Peek2009-12-221-19/+23
|/
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-2/+3
* Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attemptsJeremy Kemper2009-12-061-0/+4
* Reorganize autoloads:Carlhuda2009-12-021-20/+23
* 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-206-14/+144
* 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
* Revert "Allow frameworks to be required by their gem name"Jeremy Kemper2009-09-121-1/+0
* 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-312-0/+10
* 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-292-0/+97
* Break up concerns for choosing what attributes should be serialized and the a...Joshua Peek2009-08-135-99/+87
* Extract common dirty tracking methods in AMoJoshua Peek2009-08-102-0/+113
* AMo overrides alias_attribute and manages aliasing all known attribute method...Joshua Peek2009-08-101-0/+10
* Centralize attr method name concatenation in AttributeMethodMatchJoshua Peek2009-08-101-11/+22
* Move :with/:without check outside the method generated by validates_format_ofPratik Naik2009-08-101-6/+6
* Add validates_format_of :without => /regexp/ option [Elliot Winkler, Peer Allan]Elliot Winkler2009-08-101-8/+29
* Introduce validates_with to encapsulate attribute validations in a class.Jeff Dean2009-08-091-0/+64
* Fix exclusive range patch to use begin/end instead of min/max. [#2981 status:...Adam Keys2009-08-081-4/+8
* Simplyfy validates_length_of and remove putsPratik Naik2009-08-081-4/+7
* validates_length_of with maximum should allow nil [#2309 status:resolved]jzw2009-08-081-2/+4
* Use send instead of instance_evalPratik Naik2009-08-062-4/+4
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-052-4/+26
* Extract generic attribute method generation to AMoJoshua Peek2009-08-042-0/+268
* Add simple support for ActiveModel's StateMachine for ActiveRecordJoshua Peek2009-08-044-29/+21
* Add support for error_messages_for(@obj)Yehuda Katz2009-07-281-1/+2