aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Autoload AR test caseJoshua Peek2010-01-041-2/+0
| | |
| | * Autoload AMo test caseJoshua Peek2010-01-042-4/+4
| | |
| | * Autoload AS test caseJoshua Peek2010-01-041-2/+0
| | |
| | * MergeDavid Heinemeier Hansson2010-01-038-21/+87
| | |\
| | * | Change the ActiveModel::Base.include_root_in_json default to true for Rails ↵David Heinemeier Hansson2010-01-032-5/+5
| | | | | | | | | | | | | | | | 3 [DHH]
* | | | Adding ActiveModel::AttributeMethods documentationMikel Lindsaar2010-01-172-23/+143
| | | |
* | | | fixed column alignmentMikel Lindsaar2010-01-161-15/+17
|/ / /
* | | Adding RDoc for active_model dirtyMikel Lindsaar2010-01-162-27/+44
| | |
* | | Fixed readme for ActiveModel::DirtyMikel Lindsaar2010-01-161-4/+22
| | |
* | | Updated READMEMikel Lindsaar2010-01-151-0/+19
| | |
* | | ActiveModel::Conversion documentationMikel Lindsaar2010-01-152-2/+21
| | |
* | | ActiveModel::Callbacks documentationMikel Lindsaar2010-01-152-47/+101
| | |
* | | Merge remote branch 'mainstream/master'Pratik Naik2010-01-0441-557/+744
|\ \ \ | | |/ | |/|
| * | Add missing tests to Validators.José Valim2010-01-032-1/+49
| | |
| * | Remove deprecated ActiveModel tests (%d and %s is no longer supported in ↵José Valim2010-01-021-14/+0
| | | | | | | | | | | | error messages a couple months already)
| * | Add naming to AMo::LintJosé Valim2010-01-022-0/+16
| | |
| * | Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-023-3/+12
| | |
| * | Be sure to convert namespaced names to we have 'Parrots name' instead of ↵José Valim2010-01-023-3/+10
| |/ | | | | | | 'Parrots.name' in error messages.
| * 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 <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.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-283-0/+162
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
| * Merge commit 'josevalim/validations'Jeremy Kemper2009-12-2831-515/+467
| |\
| | * No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵José Valim2009-12-2315-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é Valim2009-12-236-47/+48
| | |
| | * 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-2312-157/+200
| | | | | | | | | | | | are still in the class method.
| | * Validator is simply sent to validate method. However, the API needs to ↵José Valim2009-12-223-15/+12
| | | | | | | | | | | | change, so validate accepts a record.
| * | 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-162-6/+5
| | | | | | | | adding any to the load path more than once.
| * Hush AMo test suiteJoshua Peek2009-12-161-1/+0
| |
| * Ruby 1.9.2: explicitly raise NoMethodError for explicit coercion attemptsJeremy Kemper2009-12-061-0/+4
| |
| * Reorganize autoloads:Carlhuda2009-12-023-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.
* | Merge remote branch 'mainstream/master'Pratik Naik2009-11-1713-44/+242
|\| | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/conversions.rb
| * Uses Hash#reverse_mergeJeremy Kemper2009-11-131-0/+2
| |
| * Unify test:isolated across components and run by default at toplevelJeremy Kemper2009-11-101-5/+7
| |
| * Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
| |
| * Make Rakefile usable outside of base dirJeremy Kemper2009-11-091-9/+10
| |
| * Fix error_messages_for when instance variable names are given.José Valim2009-10-211-0/+3
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-2011-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 GemfileYehuda Katz + Carl Lerche2009-10-202-19/+6
| |
| * Add arel to AMo gemfileJoshua Peek2009-10-201-0/+1
| |
| * We won't be publishing tars and zips anymoreJoshua Peek2009-10-161-3/+1
| |
| * Bundle AMoYehuda Katz2009-10-152-2/+18
| |
| * Callbacks, DeprecatedCallbacks = NewCallbacks, CallbacksJoshua Peek2009-10-121-6/+4
| |