Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 3 | -3/+10 |
| | |||||
* | fixes doc generation | Xavier Noria | 2010-02-10 | 3 | -15/+14 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Adding ruby version spec to all gemspec files to at least 1.8.7 | Mikel Lindsaar | 2010-02-08 | 1 | -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 Sichanugrist | 2010-02-06 | 1 | -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 released | Jeremy Kemper | 2010-02-05 | 1 | -2/+2 |
| | |||||
* | Submarine the rake-gemcutter dep in Rakefiles | Jeremy Kemper | 2010-02-05 | 1 | -4/+5 |
| | |||||
* | Fix task defines | Jeremy Kemper | 2010-02-04 | 1 | -1/+1 |
| | |||||
* | Release using gemcutter gem:push tasks | Jeremy Kemper | 2010-02-04 | 1 | -0/+6 |
| | |||||
* | Move to 3.0.0.beta | David Heinemeier Hansson | 2010-02-03 | 2 | -3/+3 |
| | |||||
* | Merge branch 'master' of git://github.com/rails/rails | Mikel Lindsaar | 2010-02-02 | 1 | -7/+1 |
|\ | |||||
| * | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -7/+1 |
| | | |||||
* | | Updating copyright dates on all licenses | Mikel Lindsaar | 2010-02-01 | 2 | -2/+2 |
| | | |||||
* | | Full update on ActiveModel documentation | Mikel Lindsaar | 2010-02-01 | 10 | -70/+562 |
|/ | |||||
* | Axe AM state machine | Joshua Peek | 2010-01-30 | 11 | -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é Valim | 2010-01-30 | 2 | -21/+28 |
| | |||||
* | Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵ | Yehuda Katz | 2010-01-19 | 1 | -0/+2 |
| | | | | nil!) | ||||
* | Adding Proc support to validation messages so that they can become a little ↵ | Samuel Elliott | 2010-01-17 | 2 | -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é Valim | 2010-01-17 | 1 | -0/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 5 | -53/+180 |
| | |||||
* | Fix typos and add tests to ensure they will be caught the next time. | José Valim | 2010-01-11 | 3 | -3/+11 |
| | |||||
* | Fix typo by renaming :genre to :gender. | José Valim | 2010-01-09 | 3 | -8/+8 |
| | |||||
* | Allow validates to map some types to specific options. So now you can do: | José Valim | 2010-01-08 | 4 | -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é Valim | 2010-01-08 | 4 | -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é Valim | 2010-01-07 | 4 | -12/+61 |
| | | | | validates. | ||||
* | Add validates method as shortcut to setup validators for a given set of ↵ | jamie | 2010-01-07 | 17 | -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é Valim | 2010-01-07 | 2 | -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é Valim | 2010-01-07 | 1 | -1/+1 |
| | |||||
* | Errors messages are now moved from :activerecord.errors to simply :errors on ↵ | José Valim | 2010-01-07 | 4 | -108/+70 |
| | | | | I18n yml files. | ||||
* | Autoload AR test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | |||||
* | Autoload AMo test case | Joshua Peek | 2010-01-04 | 2 | -4/+4 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | |||||
* | Merge | David Heinemeier Hansson | 2010-01-03 | 8 | -21/+87 |
|\ | |||||
| * | Add missing tests to Validators. | José Valim | 2010-01-03 | 2 | -1/+49 |
| | | |||||
| * | Remove deprecated ActiveModel tests (%d and %s is no longer supported in ↵ | José Valim | 2010-01-02 | 1 | -14/+0 |
| | | | | | | | | error messages a couple months already) | ||||
| * | Add naming to AMo::Lint | José Valim | 2010-01-02 | 2 | -0/+16 |
| | | |||||
| * | Use activerecord.errors.format as in Rails 2.3.5. | José Valim | 2010-01-02 | 3 | -3/+12 |
| | | |||||
| * | Be sure to convert namespaced names to we have 'Parrots name' instead of ↵ | José Valim | 2010-01-02 | 3 | -3/+10 |
| | | | | | | | | 'Parrots.name' in error messages. | ||||
* | | Change the ActiveModel::Base.include_root_in_json default to true for Rails ↵ | David Heinemeier Hansson | 2010-01-03 | 2 | -5/+5 |
|/ | | | | 3 [DHH] | ||||
* | 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 | ||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -1/+2 |
| | |||||
* | Add a /rails.rb for each framework for consistency | Carl Lerche | 2009-12-31 | 1 | -0/+1 |
| | |||||
* | Move ActiveRecord callbacks implementation to ActiveModel and make use of it. | José Valim | 2009-12-28 | 3 | -0/+162 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Merge commit 'josevalim/validations' | Jeremy Kemper | 2009-12-28 | 31 | -515/+467 |
|\ | |||||
| * | No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵ | José Valim | 2009-12-23 | 15 | -238/+120 |
| | | | | | | | | Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there. | ||||
| * | Small clean up in Naming and TTranslation tests. | José Valim | 2009-12-23 | 6 | -47/+48 |
| | | |||||
| * | ActiveRecord::Validations are now built on top of Validator as well. | José Valim | 2009-12-23 | 3 | -6/+11 |
| | | |||||
| * | validates_each uses a BlockValidator. | José Valim | 2009-12-23 | 5 | -41/+49 |
| | | |||||
| * | Added check_validity! to EachValidator and refactor existing ones. | José Valim | 2009-12-23 | 5 | -74/+90 |
| | | |||||
| * | Move validations in ActiveModel to validators, however all validatity checks ↵ | José Valim | 2009-12-23 | 12 | -157/+200 |
| | | | | | | | | are still in the class method. |