aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
Commit message (Expand)AuthorAgeFilesLines
* Apply scoping during initialize instead of create. Fixes setting of foreign ...Tobias Lütke2007-01-121-1/+1
* Fix scope typo in add_lock! Closes #6482. [zubek]Jeremy Kemper2007-01-121-1/+1
* Pass a range in :conditions to use the SQL BETWEEN operator. Closes #6974.Jeremy Kemper2007-01-101-2/+15
* try to appease the angry OracleJamis Buck2006-12-291-1/+1
* make sure query attributes on custom fields works as it used toJamis Buck2006-12-291-1/+7
* Docs fix for columns_hash [bradediger]Michael Koziarski2006-12-271-1/+1
* Ensure dynamic finders are anchored to the beginning of the method name to pr...Michael Koziarski2006-12-271-2/+2
* Partially revert [5660] - makes more trouble than it resolves. References #57...Jeremy Kemper2006-12-191-5/+2
* Subclass instantiation doesn't try to explicitly require the corresponding su...Jeremy Kemper2006-12-191-5/+3
* Subclasses of an abstract class work with single-table inheritance. Closes #5...Jeremy Kemper2006-12-011-3/+6
* Simplify query_attribute by typecasting the attribute value and checking whet...Jeremy Kemper2006-11-201-15/+7
* Cache inheritance_column. Closes #6592.Jeremy Kemper2006-11-091-4/+5
* make add_order a tad faster (Closes #6567)Jamis Buck2006-11-071-4/+6
* Support nil and Array in :conditions => { attr => value } hashes. Closes #6548.Jeremy Kemper2006-11-051-31/+33
* Dynamically generate reader methods for serialized attributes. Closes #6362.Jeremy Kemper2006-11-021-3/+19
* update deprecations to include alternative methods (where available)Jamis Buck2006-10-241-2/+2
* Added update_attributes! which uses save! to raise an exception if a validati...David Heinemeier Hansson2006-10-091-0/+6
* callbacks that return false should cause save to return falseJamis Buck2006-10-041-2/+2
* save! shouldn't validate twice. Closes #6324.Jeremy Kemper2006-10-021-2/+2
* Deprecation tests. Remove warnings for dynamic finders and for the foo_count ...Jeremy Kemper2006-09-151-4/+6
* We cant make MySQL 5 happy if it means making SQLite and PostgreSQL cry. So c...David Heinemeier Hansson2006-09-081-1/+1
* Added parentheses around FROM clauses generated by Base and associations sinc...David Heinemeier Hansson2006-09-081-1/+1
* Backed out of new_record? to new? transformation as it would screw up existin...David Heinemeier Hansson2006-09-051-15/+5
* Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...David Heinemeier Hansson2006-09-051-5/+15
* Rename quote to quote_value so the name can be used in AR models. #3628 [Koz]Michael Koziarski2006-09-041-10/+23
* Nested subclasses are not prefixed with the parent class' table_name since th...Jeremy Kemper2006-08-251-7/+16
* Clashing type columns due to a sloppy join shouldn't wreck single-table inher...Jeremy Kemper2006-08-241-11/+22
* Nested classes are given table names prefixed by the singular form of the par...Jeremy Kemper2006-08-161-6/+20
* Remove ActiveRecord::Base.reset since Dispatcher doesn't use it anymore. [Ri...Rick Olson2006-08-091-4/+0
* Document find's :from option. Closes #5762. [andrew@redlinesoftware.com]Marcel Molina2006-08-091-0/+2
* New dependencies implementationNicholas Seckar2006-08-081-2/+2
* Refactor ActiveRecord::Base.reset_subclasses to #reset, and add global observ...Rick Olson2006-08-061-0/+4
* Fixed that default timezones for new / initialize should uphold utc setting (...David Heinemeier Hansson2006-08-051-1/+1
* The exists? class method should treat a string argument as an id rather than ...Jeremy Kemper2006-08-031-3/+15
* Added support for conditions on Base.exists? (closes #5689) [josh@joshpeek.com]David Heinemeier Hansson2006-08-031-2/+5
* r4889@ks: jeremy | 2006-07-31 20:27:15 -0700Jeremy Kemper2006-08-011-6/+6
* r4880@ks: jeremy | 2006-07-30 23:52:59 -0700Jeremy Kemper2006-07-311-1/+2
* r4854@ks: jeremy | 2006-07-30 00:59:18 -0700Jeremy Kemper2006-07-311-9/+5
* occured -> occurred. Closes #5559.Jeremy Kemper2006-07-101-1/+1
* r4704@asus: jeremy | 2006-06-27 12:00:19 -0700Jeremy Kemper2006-07-081-1/+1
* Rollback [4584], bad test. Reopens #3819.Jeremy Kemper2006-07-081-1/+1
* Don't modify options parameters in-place. Closes #3819.Jeremy Kemper2006-07-081-1/+1
* find_one uses find_every.first instead of find_initial since its primary key ...Jeremy Kemper2006-07-071-1/+4
* revert ActiveRecord equality change. Closes #5596Rick Olson2006-07-051-3/+2
* Fixed a few Oracle issues: Allows Oracle's odd date handling to still work co...David Heinemeier Hansson2006-07-051-2/+3
* Minor tweak to improve performance of ActiveRecord::Base#to_paramNicholas Seckar2006-07-031-1/+1
* Added find_or_initialize_by_X which works like find_or_create_by_X but doesn'...Sam Stephenson2006-06-201-2/+13
* r4664@asus: jeremy | 2006-06-19 18:55:36 -0700Jeremy Kemper2006-06-201-2/+5
* r4644@asus: jeremy | 2006-06-16 14:57:03 -0700Jeremy Kemper2006-06-191-9/+28
* Change AR::Base#to_param to return a String instead of a Fixnum. Closes #5320.Nicholas Seckar2006-06-191-2/+2