Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of git://github.com/rails/rails | Mikel Lindsaar | 2010-02-02 | 5 | -5/+3 |
|\ | | | | | | | | | | | | | | | Conflicts: activemodel/README activemodel/lib/active_model/errors.rb activemodel/lib/active_model/serialization.rb railties/guides/source/3_0_release_notes.textile | ||||
| * | Updating copyright dates on all licenses | Mikel Lindsaar | 2010-02-01 | 1 | -1/+1 |
| | | |||||
| * | Full update on ActiveModel documentation | Mikel Lindsaar | 2010-02-01 | 9 | -44/+377 |
| | | |||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-31 | 7 | -451/+14 |
|\| | | | | | | | | | Conflicts: activemodel/lib/active_model/state_machine.rb | ||||
| * | Axe AM state machine | Joshua Peek | 2010-01-30 | 6 | -295/+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é Valim | 2010-01-30 | 1 | -7/+14 |
| | | |||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-24 | 1 | -0/+2 |
|\| | |||||
| * | Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵ | Yehuda Katz | 2010-01-19 | 1 | -0/+2 |
| | | | | | | | | nil!) | ||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-19 | 2 | -0/+4 |
|\| | |||||
| * | Adding Proc support to validation messages so that they can become a little ↵ | Samuel Elliott | 2010-01-17 | 1 | -0/+2 |
| | | | | | | | | | | | | 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é Valim | 2010-01-17 | 1 | -0/+2 |
| | | |||||
| * | Merge docrails | Pratik Naik | 2010-01-17 | 4 | -37/+128 |
| | | |||||
* | | Documentation cleanup and linkage for validator | Mikel Lindsaar | 2010-01-19 | 1 | -2/+3 |
| | | |||||
* | | Adding ActiveModel::Validations documentation | Mikel Lindsaar | 2010-01-18 | 1 | -1/+38 |
| | | |||||
* | | Adding documentation for ActiveModel::Translation | Mikel Lindsaar | 2010-01-18 | 1 | -2/+17 |
| | | |||||
* | | Fixing up state machine docs | Mikel Lindsaar | 2010-01-18 | 1 | -88/+128 |
| | | |||||
* | | Fixing documentation on ActiveModel::Observer#observed_classes | Gavin Stark | 2010-01-18 | 1 | -1/+1 |
| | | |||||
* | | Partial Documentation for ActiveModel::StateMachine | Nestor Ovroy | 2010-01-18 | 1 | -0/+109 |
| | | |||||
* | | Updating ActiveModel::Errors documentation to plug Translations and ↵ | Mikel Lindsaar | 2010-01-17 | 1 | -1/+4 |
| | | | | | | | | Validations modules | ||||
* | | Adding documentation for ActiveModel::Serialization | Mikel Lindsaar | 2010-01-17 | 2 | -2/+60 |
| | | |||||
* | | Fixing documentation for ActiveModel::Observer | Mikel Lindsaar | 2010-01-17 | 1 | -8/+13 |
| | | |||||
* | | Adding ActiveModel::Naming documentation | Mikel Lindsaar | 2010-01-17 | 1 | -0/+17 |
| | | |||||
* | | Update errors docs | Mikel Lindsaar | 2010-01-17 | 1 | -5/+4 |
| | | |||||
* | | Added documentation for ActiveModel::Lint | Mikel Lindsaar | 2010-01-17 | 1 | -9/+5 |
| | | |||||
* | | Added ActiveModel::Errors documentation | Mikel Lindsaar | 2010-01-17 | 1 | -0/+107 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Mikel Lindsaar | 2010-01-17 | 18 | -181/+328 |
|\ \ | |||||
| * | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-17 | 18 | -181/+328 |
| |\| | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/flash.rb | ||||
| | * | Fix typos and add tests to ensure they will be caught the next time. | José Valim | 2010-01-11 | 2 | -3/+3 |
| | | | |||||
| | * | Fix typo by renaming :genre to :gender. | José Valim | 2010-01-09 | 1 | -1/+1 |
| | | | |||||
| | * | Allow validates to map some types to specific options. So now you can do: | José Valim | 2010-01-08 | 2 | -15/+36 |
| | | | | | | | | | | | | | | | | | | 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é Valim | 2010-01-08 | 3 | -44/+24 |
| | | | | | | | | | | | | 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é Valim | 2010-01-07 | 2 | -9/+19 |
| | | | | | | | | | | | | validates. | ||||
| | * | Add validates method as shortcut to setup validators for a given set of ↵ | jamie | 2010-01-07 | 12 | -96/+236 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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é Valim | 2010-01-07 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
| | * | Errors messages are now moved from :activerecord.errors to simply :errors on ↵ | José Valim | 2010-01-07 | 2 | -28/+26 |
| | | | | | | | | | | | | I18n yml files. | ||||
| | * | Autoload AMo test case | Joshua Peek | 2010-01-04 | 1 | -3/+4 |
| | | | |||||
| | * | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | | | |||||
| | * | Merge | David Heinemeier Hansson | 2010-01-03 | 4 | -6/+25 |
| | |\ | |||||
| | * | | Change the ActiveModel::Base.include_root_in_json default to true for Rails ↵ | David Heinemeier Hansson | 2010-01-03 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | | 3 [DHH] | ||||
* | | | | Adding ActiveModel::AttributeMethods documentation | Mikel Lindsaar | 2010-01-17 | 1 | -21/+120 |
|/ / / | |||||
* | | | Adding RDoc for active_model dirty | Mikel Lindsaar | 2010-01-16 | 1 | -1/+39 |
| | | | |||||
* | | | ActiveModel::Conversion documentation | Mikel Lindsaar | 2010-01-15 | 1 | -1/+12 |
| | | | |||||
* | | | ActiveModel::Callbacks documentation | Mikel Lindsaar | 2010-01-15 | 1 | -31/+73 |
| | | | |||||
* | | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-04 | 20 | -306/+456 |
|\ \ \ | | |/ | |/| | |||||
| * | | Add missing tests to Validators. | José Valim | 2010-01-03 | 1 | -1/+2 |
| | | | |||||
| * | | Add naming to AMo::Lint | José Valim | 2010-01-02 | 1 | -0/+14 |
| | | | |||||
| * | | Use activerecord.errors.format as in Rails 2.3.5. | José Valim | 2010-01-02 | 2 | -3/+6 |
| | | | |||||
| * | | Be sure to convert namespaced names to we have 'Parrots name' instead of ↵ | José Valim | 2010-01-02 | 1 | -2/+3 |
| |/ | | | | | | | 'Parrots.name' in error messages. | ||||
| * | Ruby 1.9.2: explicit coercion check no longer needed; bug fixed upstream | Jeremy Kemper | 2010-01-01 | 1 | -4/+0 |
| | | |||||
| * | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+0 |
| | | | | | | | | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin |