aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix test load paths for those not using bundlerJoshua Peek2010-02-153-3/+10
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-02-145-18/+25
|\| | | | | | | | | | | | | | | Conflicts: railties/README railties/guides/source/active_support_core_extensions.textile railties/guides/source/getting_started.textile railties/lib/generators/rails/app/templates/README
| * fixes doc generationXavier Noria2010-02-103-15/+14
| | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Adding ruby version spec to all gemspec files to at least 1.8.7Mikel Lindsaar2010-02-081-0/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' ↵Prem Sichanugrist2010-02-061-1/+1
| | | | | | | | | | | | will be run correctly [#3879 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Bump git versions to 3.0.0.beta1 since we've releasedJeremy Kemper2010-02-051-2/+2
| |
| * Submarine the rake-gemcutter dep in RakefilesJeremy Kemper2010-02-051-4/+5
| |
| * Fix task definesJeremy Kemper2010-02-041-1/+1
| |
| * Release using gemcutter gem:push tasksJeremy Kemper2010-02-041-0/+6
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-02-042-3/+3
|\| | | | | | | | | Conflicts: railties/guides/source/3_0_release_notes.textile
| * Move to 3.0.0.betaDavid Heinemeier Hansson2010-02-032-3/+3
| |
* | Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-027-30/+15
|\| | | | | | | | | | | | | | | Conflicts: activemodel/README activemodel/lib/active_model/errors.rb activemodel/lib/active_model/serialization.rb railties/guides/source/3_0_release_notes.textile
| * Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-021-7/+1
| |\
| * | Updating copyright dates on all licensesMikel Lindsaar2010-02-012-2/+2
| | |
| * | Full update on ActiveModel documentationMikel Lindsaar2010-02-0110-70/+562
| | |
* | | Merge remote branch 'mainstream/master'Pratik Naik2010-02-011-7/+1
|\ \ \ | | |/ | |/|
| * | Get rails tests running on bundler 0.9Carl Lerche2010-01-311-7/+1
| |/
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-3113-1025/+28
|\| | | | | | | | | Conflicts: activemodel/lib/active_model/state_machine.rb
| * Axe AM state machineJoshua Peek2010-01-3011-855/+0
| | | | | | | | We're going do it eventually, get it done before 3.0 is final.
| * Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-302-21/+28
| |
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-241-0/+2
|\|
| * Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-0/+2
| | | | | | | | nil!)
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-193-0/+12
|\|
| * Adding Proc support to validation messages so that they can become a little ↵Samuel Elliott2010-01-172-0/+10
| | | | | | | | | | | | more dynamic, allowing for customisations during the request [#3514 status:resolved]. Signed-off-by: José Valim <jose.valim@gmail.com>
| * Validates needs hash slice.José Valim2010-01-171-0/+2
| |
| * Merge docrailsPratik Naik2010-01-175-53/+180
| |
* | Documentation cleanup and linkage for validatorMikel Lindsaar2010-01-192-2/+26
| |
* | Adding ActiveModel::Validations documentationMikel Lindsaar2010-01-182-2/+56
| |
* | Adding documentation for ActiveModel::TranslationMikel Lindsaar2010-01-182-2/+26
| |
* | Fixing up state machine docsMikel Lindsaar2010-01-182-88/+141
| |
* | Fixing documentation on ActiveModel::Observer#observed_classesGavin Stark2010-01-181-1/+1
| |
* | Partial Documentation for ActiveModel::StateMachineNestor Ovroy2010-01-181-0/+109
| |
* | Updating ActiveModel::Errors documentation to plug Translations and ↵Mikel Lindsaar2010-01-171-1/+4
| | | | | | | | Validations modules
* | Adding documentation for ActiveModel::SerializationMikel Lindsaar2010-01-173-3/+73
| |
* | Fixing documentation for ActiveModel::ObserverMikel Lindsaar2010-01-172-8/+21
| |
* | Adding ActiveModel::Naming documentationMikel Lindsaar2010-01-172-1/+35
| |
* | Update errors docsMikel Lindsaar2010-01-171-5/+4
| |
* | Added documentation for ActiveModel::LintMikel Lindsaar2010-01-172-9/+12
| |
* | Added ActiveModel::Errors documentationMikel Lindsaar2010-01-172-0/+139
| |
* | Merge branch 'master' of github.com:lifo/docrailsMikel Lindsaar2010-01-1732-272/+548
|\ \
| * | Merge remote branch 'mainstream/master'Pratik Naik2010-01-1732-272/+548
| |\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/flash.rb
| | * Fix typos and add tests to ensure they will be caught the next time.José Valim2010-01-113-3/+11
| | |
| | * Fix typo by renaming :genre to :gender.José Valim2010-01-093-8/+8
| | |
| | * Allow validates to map some types to specific options. So now you can do:José Valim2010-01-084-27/+74
| | | | | | | | | | | | | | | | | | validates :email, :presence => true, :format => /@/ validates :genre, :inclusion => %w(m f) validates :password, :length => 6..20
| | * Compile length validator options still at the class level, so whenever the ↵José Valim2010-01-084-48/+26
| | | | | | | | | | | | validator is called, it just needs to check for :maximum, :minimum and :is values.
| | * Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in ↵José Valim2010-01-074-12/+61
| | | | | | | | | | | | validates.
| | * Add validates method as shortcut to setup validators for a given set of ↵jamie2010-01-0717-98/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes: class Person < ActiveRecord::Base include MyValidators validates :name, :presence => true, :uniqueness => true, :length => { :maximum => 100 } validates :email, :presence => true, :email => true end [#3058 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| | * Allow to specify default attributes names translation in I18n yml files.José Valim2010-01-072-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, you could easily specify :created_at and :updated_at translations as: en: attributes: created_at: "Created at" updated_at: "Updated at" This configuration is built on ActiveModel, so it means those translations are shared between different ORMs as well (but always as a fallback).
| | * Be sure to dup load paths before clearing the array.José Valim2010-01-071-1/+1
| | |
| | * Errors messages are now moved from :activerecord.errors to simply :errors on ↵José Valim2010-01-074-108/+70
| | | | | | | | | | | | I18n yml files.