aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Accept array of attributes as arg also, like 2.3Jeremy Kemper2010-02-251-1/+1
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-1/+1
* Add validators reflection so you can do 'Person.validators' and 'Person.valid...Prem Sichanugrist2010-02-213-3/+45
* Require persisted? in ActiveModel::Lint and remove new_record? and destroyed?...José Valim2010-02-212-21/+16
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-211-10/+35
* AMo #key is now #to_key and CI is probably happysnusnu2010-02-201-6/+12
* Adds #key and #to_param to the AMo interfacesnusnu2010-02-192-1/+24
* Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' ...Prem Sichanugrist2010-02-061-1/+1
* Move to 3.0.0.betaDavid Heinemeier Hansson2010-02-031-1/+1
* Updating copyright dates on all licensesMikel Lindsaar2010-02-011-1/+1
* Full update on ActiveModel documentationMikel Lindsaar2010-02-019-44/+377
* Axe AM state machineJoshua Peek2010-01-306-295/+0
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-7/+14
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes n...Yehuda Katz2010-01-191-0/+2
* Adding Proc support to validation messages so that they can become a little m...Samuel Elliott2010-01-171-0/+2
* Validates needs hash slice.José Valim2010-01-171-0/+2
* Merge docrailsPratik Naik2010-01-174-37/+128
* Fix typos and add tests to ensure they will be caught the next time.José Valim2010-01-112-3/+3
* 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 AMo test caseJoshua Peek2010-01-041-3/+4
* 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-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