Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
| * | Validator is simply sent to validate method. However, the API needs to ↵ | José Valim | 2009-12-22 | 3 | -15/+12 | |
| | | | | | | | | change, so validate accepts a record. | |||||
* | | Use i18n | Jeremy Kemper | 2009-12-27 | 1 | -0/+1 | |
| | | ||||||
* | | All AMo modules are safe to defer | Joshua Peek | 2009-12-22 | 2 | -23/+20 | |
| | | ||||||
* | | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 1 | -19/+23 | |
|/ | ||||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 2 | -6/+5 | |
| | | | | adding any to the load path more than once. | |||||
* | Hush AMo test suite | Joshua Peek | 2009-12-16 | 1 | -1/+0 | |
| | ||||||
* | Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attempts | Jeremy Kemper | 2009-12-06 | 1 | -0/+4 | |
| | ||||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 3 | -20/+25 | |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | |||||
* | Uses Hash#reverse_merge | Jeremy Kemper | 2009-11-13 | 1 | -0/+2 | |
| | ||||||
* | Unify test:isolated across components and run by default at toplevel | Jeremy Kemper | 2009-11-10 | 1 | -5/+7 | |
| | ||||||
* | Avoid adding component lib/ to load path multiple times | Joshua Peek | 2009-11-09 | 1 | -1/+3 | |
| | ||||||
* | Make Rakefile usable outside of base dir | Jeremy Kemper | 2009-11-09 | 1 | -9/+10 | |
| | ||||||
* | Fix error_messages_for when instance variable names are given. | José Valim | 2009-10-21 | 1 | -0/+3 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Move validator, human_name and human_attribute_name to ActiveModel, remove ↵ | José Valim | 2009-10-20 | 11 | -20/+208 | |
| | | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Have all the tests running off a single Gemfile | Yehuda Katz + Carl Lerche | 2009-10-20 | 2 | -19/+6 | |
| | ||||||
* | Add arel to AMo gemfile | Joshua Peek | 2009-10-20 | 1 | -0/+1 | |
| | ||||||
* | We won't be publishing tars and zips anymore | Joshua Peek | 2009-10-16 | 1 | -3/+1 | |
| | ||||||
* | Bundle AMo | Yehuda Katz | 2009-10-15 | 2 | -2/+18 | |
| | ||||||
* | Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks | Joshua Peek | 2009-10-12 | 1 | -6/+4 | |
| | ||||||
* | Rewrite ActiveModel::Lint as a simple TU mixin | Joshua Peek | 2009-10-07 | 2 | -80/+38 | |
| | ||||||
* | Fixed behavior of attribute_methods_generated? [#3220 state:resolved] | Sam Pohlenz | 2009-10-07 | 2 | -1/+27 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Don't share attribute matchers between classes [#3216 state:resolved] | Sam Pohlenz | 2009-10-07 | 2 | -1/+24 | |
| | | | | | | | Allows separate models that include ActiveModel::AttributeMethods to use different sets of attribute matchers. Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Use ActiveModel::TestCase base class | Jeremy Kemper | 2009-09-24 | 4 | -7/+7 | |
| | ||||||
* | Make gemspecs the authoritative source instead of generating them from the ↵ | Joshua Peek | 2009-09-25 | 2 | -51/+15 | |
| | | | | Rakefile | |||||
* | fixed ActiveModel::Lint typos [#3236 state:resolved] | lakshan | 2009-09-21 | 1 | -4/+3 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Fix typo. | Brian Donovan | 2009-09-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Fix deprecated gem-name requires | Jeremy Kemper | 2009-09-14 | 1 | -1/+1 | |
| | ||||||
* | Revert "Allow frameworks to be required by their gem name" | Jeremy Kemper | 2009-09-12 | 1 | -1/+0 | |
| | | | | | | | This has just been confusing. Better to educate than band-aid. This reverts commit 18a24274ec823ded4ffa29bf33fd3d76816aab7e. Originally from http://dev.rubyonrails.org/ticket/8845 [drnic] | |||||
* | Ensure validation errors to be ordered in declared order | Akira Matsuda | 2009-09-11 | 2 | -1/+18 | |
| | | | | | | [#2301 state:committed milestone:2.3.5] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Refactor new callbacks and AR implementation. | José Valim | 2009-09-08 | 1 | -2/+2 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> |