aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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>
* Harmonize framework require strategy. Don't add self to load path since ↵Jeremy Kemper2008-08-251-10/+7
| | | | Rails initializer and RubyGems handle it.
* Always require activesupport, even if its constant already existsTarmo Tänav2008-08-231-10/+8
| | | | | | | | | | This is needed because the existance of the ActiveSupport constant by itself does not guarantee that the whole library has been loaded. Also load the StringInquirer in the Rails#env method as the it might be called inside the initializer block before activesupport itself has been loaded.
* Locale file changed to yamlIain Hecker2008-08-201-1/+1
|
* switch to using I18n.load_translations instead of requiring plain ruby filesSven Fuchs2008-08-131-1/+1
|
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Renamed lang/ to locale/ because that's what we seem toSven Fuchs2008-06-211-1/+1
| | | | | | standarize on. Also, in future this place can be used for data/code that's not literally translations but conceptually belongs to the locale (like custom pluralization algorithms etc.).
* Changed process of storing translations from theSven Fuchs2008-06-211-1/+4
| | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources.
* integrating I18n into RailsSven Fuchs2008-06-191-0/+2
|
* Updated copyright yearsDavid Heinemeier Hansson2008-05-111-1/+1
|
* Partial updates play nice with updated_at/on timestampsJeremy Kemper2008-03-311-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Track changes to unsaved attributesJeremy Kemper2008-03-291-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge the has_finder gem, renamed as 'named_scope'. Closes #11404 [nkallen]Rick Olson2008-03-241-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce preload query strategy for eager :includes. Closes #9640.Jeremy Kemper2008-01-191-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Check for the dir instead of relying on an exception.Jeremy Kemper2007-10-071-5/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Base#to_json/from_json (currently does not support ↵David Heinemeier Hansson2007-09-201-2/+2
| | | | | | :include like to_xml) [DHH]. Added ActiveRecord::Base#from_xml [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speed up and simplify query caching.Jeremy Kemper2007-09-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved acts_as_tree into a plugin of the same name on the official Rails svn ↵David Heinemeier Hansson2007-09-111-2/+0
| | | | | | (closes #9514) [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved acts_as_nested_set into a plugin of the same name on the official ↵David Heinemeier Hansson2007-09-111-2/+0
| | | | | | Rails svn (closed #9516) [josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove broken requireMichael Koziarski2007-09-101-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove acts_as_list. Users are advised to install the new plugin. ↵Michael Koziarski2007-09-101-1/+0
| | | | | | References #9415. [josh, nzkoz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update copyright spanDavid Heinemeier Hansson2007-09-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Explicitly require active_record/query_cache before using it.Jeremy Kemper2007-09-081-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load database adapters on demand. Eliminates config.connection_adapters and ↵Jeremy Kemper2007-05-251-7/+1
| | | | | | RAILS_CONNECTION_ADAPTERS. Closes #8456. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ ↵David Heinemeier Hansson2007-02-041-1/+1
| | | | | | [Chad Fowler] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update copyright timesDavid Heinemeier Hansson2006-09-031-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4854@ks: jeremy | 2006-07-30 00:59:18 -0700Jeremy Kemper2006-07-311-0/+2
| | | | | | | | | | | Attribute methods r4877@ks: jeremy | 2006-07-30 20:23:53 -0700 Factor the attribute#{suffix} methods out of method_missing for easier extension. r4878@ks: jeremy | 2006-07-30 20:42:23 -0700 More specific method naming, declare many attribute method suffixes, set up default suffixes at module include rather than lazily. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de