aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-201-1/+0
| | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com>
* Use bundled env for tests onlyJeremy Kemper2009-10-191-9/+4
|
* Refactoring attributes/types [#3348 state:resolved]Eric Chapweske2009-10-171-0/+16
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix env pathJeremy Kemper2009-10-141-1/+1
|
* Include bundled env in toplevel require, if presentJeremy Kemper2009-10-141-8/+10
|
* No more toplevel arel siblingJeremy Kemper2009-10-141-4/+2
|
* Merge commit 'rails/master'Emilio Tagua2009-08-101-0/+1
|\ | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/calculations.rb activerecord/lib/active_record/connection_adapters/mysql_adapter.rb activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
| * Introduce validates_with to encapsulate attribute validations in a class.Jeff Dean2009-08-091-0/+1
| | | | | | | | | | | | [#2630 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Merge commit 'rails/master'Emilio Tagua2009-08-051-0/+1
|\|
| * Add simple support for ActiveModel's StateMachine for ActiveRecordJoshua Peek2009-08-041-0/+1
| |
* | Merge commit 'rails/master'Emilio Tagua2009-07-311-2/+11
|\| | | | | | | | | Conflicts: activerecord/lib/active_record/associations.rb
| * Start separating primary key concernsJoshua Peek2009-07-301-0/+1
| |
| * Concernify AR AttributeMethodsJoshua Peek2009-07-301-1/+9
| |
| * Merge docrailsPratik Naik2009-07-251-1/+1
| |
* | Introduced ActiveRecord::Relation, a layer between an ARel relation and an ↵Emilio Tagua2009-07-211-0/+1
| | | | | | | | AR relation
* | Merge commit 'rails/master'Emilio Tagua2009-06-121-1/+1
|\|
| * Integrate ActiveModel::Observing into ActiveRecordJoshua Peek2009-06-101-1/+1
| |
* | Merge commit 'rails/master'Emilio Tagua2009-06-021-1/+9
|\| | | | | | | | | | | Conflicts: activerecord/lib/active_record.rb
| * Merge branch 'master' into active_modelJoshua Peek2009-05-291-10/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb
| * | Make Active Resource use ActiveModel::ErrorsPratik Naik2009-03-191-3/+1
| | |
| * | Move all the Active Record validations to Active ModelPratik Naik2009-03-191-0/+9
| | |
* | | Set ActiveRecord as Arel engine on load.Emilio Tagua2009-06-021-0/+1
| | |
* | | Merge commit 'rails/master'Emilio Tagua2009-05-181-3/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record.rb Updated: Arel submodule
| * | Revert "Get AR CI passing again by requiring the entire core_ext"Jeremy Kemper2009-05-181-3/+0
| | | | | | | | | | | | This reverts commit 8e6a18d8672f7efe6ef79b49185e4a6a23e4e547.
* | | Merge commit 'rails/master'Emilio Tagua2009-05-181-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb activerecord/lib/active_record/migration.rb activerecord/test/cases/helper.rb
| * | Get AR CI passing again by requiring the entire core_extYehuda Katz2009-05-161-0/+3
| | | | | | | | | | | | | | | Note that this includes Time and Date; we should really figure out what parts of core_ext are really required for AR and require just those.
| * | Cherry-pick core extensionsJeremy Kemper2009-05-131-1/+0
| | |
| * | Remove support for deprecated validation message interpolation formatJeremy Kemper2009-05-131-1/+0
| | |
* | | Merge commit 'rails/master'Emilio Tagua2009-05-041-9/+3
|\| |
| * | Don't use #tap before Active Support is available, since older versions of ↵Chris Kampmeier2009-05-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | ruby don't have native implementations [#2603 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Check for sibling Active Support firstJeremy Kemper2009-05-021-8/+3
| | |
* | | Removed blank linesEmilio Tagua2009-04-231-2/+0
| | |
* | | Require ArelEmilio Tagua2009-04-231-0/+5
|/ /
* / No more free lunchJeremy Kemper2009-04-221-0/+1
|/
* Added ActiveRecord::Base.each and ActiveRecord::Base.find_in_batches for ↵David Heinemeier Hansson2009-02-231-0/+1
| | | | batch processing [DHH/Jamis Buck]
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-0/+2
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Bump up the year in MIT license filesPratik Naik2009-01-181-1/+1
|
* Introduce dynamic scopes for ActiveRecord: you can now use class methods ↵Yaroslav Markin2008-12-281-0/+1
| | | | | | like scoped_by_user_name(user_name) and scoped_by_user_name_and_password(user_name, password) that will use the scoped method with attributes you supply. [#1648 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Switch to Rack based session stores.Joshua Peek2008-12-151-0/+1
|
* Add ActiveRecord::VERSION autoloadJeremy Kemper2008-12-101-0/+2
|
* Add config.preload_frameworks to load all frameworks at startup. Default to ↵Jeremy Kemper2008-11-241-2/+0
| | | | false so Rails autoloads itself as it's used.
* missed ActiveRecord::MigratorJoshua Peek2008-11-241-0/+1
|
* get activerecord tests passing with lazy loadingJoshua Peek2008-11-241-0/+3
|
* Add LAZY env flag for testing autoload/lazy load featureJoshua Peek2008-11-241-1/+1
|
* Autoload ActiveRecord filesJoshua Peek2008-11-241-42/+36
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵Sven Fuchs2008-09-201-1/+1
| | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* I18n: move old-style interpolation syntax deprecation to Active Record. ↵Sven Fuchs2008-09-201-1/+1
| | | | | | [#1044 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* I18n: removed call to #populate from main library filesMarko Seppae2008-08-271-3/+1
|
* refactor dynamic finder name matching into its own classJosh Susser2008-08-251-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>