aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Update inconsistent migrations documentation. Closes #4683. ↵Marcel Molina2006-04-222-2/+4
| | | | | | [machomagna@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add ActiveRecord::Errors#to_xmlJamis Buck2006-04-213-0/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Properly quote index names in migrations (closes #4764) [John Long]Rick Olson2006-04-206-16/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* forgot changelog entryRick Olson2006-04-191-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix the HasManyAssociation#count method so it uses the new ↵Rick Olson2006-04-195-25/+50
| | | | | | ActiveRecord::Base#count syntax, while maintaining backwards compatibility. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that Associations#include_eager_conditions? checks both scoped and ↵Rick Olson2006-04-193-5/+51
| | | | | | explicit conditions [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Associations#select_limited_ids_list adds the ORDER BY columns to the SELECT ↵Rick Olson2006-04-182-4/+7
| | | | | | DISTINCT List for postgresql. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixDavid Heinemeier Hansson2006-04-181-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Its 2006, not 2005David Heinemeier Hansson2006-04-161-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DRY up association collection reader method generation.Marcel Molina2006-04-152-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* DRY up and tweak style of the validation error object.Marcel Molina2006-04-151-14/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modify ActiveRecord::Base.count so it shares the same signature as ↵Rick Olson2006-04-141-10/+13
| | | | | | #calculate, but maintains backwards compatibility. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]Rick Olson2006-04-123-3/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow multiple association extensions with :extend option (closes #4666) ↵Rick Olson2006-04-115-1/+35
| | | | | | [Josh Susser] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use Aras RubyForge uploaderDavid Heinemeier Hansson2006-04-091-111/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the calculations fix for a new release of ARDavid Heinemeier Hansson2006-04-092-1/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Not all file systems are case sensitive. Things like 'rake gem' were failingScott Barron2006-04-071-2/+2
| | | | | | | on such file systems because the Rakefile listed 'rakefile'. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix calculations for the Oracle Adapter (closes #4626) [Michael Schoen]Rick Olson2006-04-061-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that that multiparameter assignment doesn't work with aggregations ↵David Heinemeier Hansson2006-04-064-2/+17
| | | | | | (closes #4620) [Lars Pind] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix type_name_with_module to handle type names that begin with '::'. Closes ↵Nicholas Seckar2006-04-063-1/+8
| | | | | | #4614. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable Limit/Offset in Calculations (closes #4558) [lmarlow@yahoo.com]Rick Olson2006-04-063-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions for Rails 1.1.1David Heinemeier Hansson2006-04-063-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that loading including associations returns all results if Load IDs ↵Rick Olson2006-04-063-5/+25
| | | | | | For Limited Eager Loading returns none (closes #4528) [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix HasManyAssociation#find bugs when :finder_sql is set (closes #4600) ↵David Heinemeier Hansson2006-04-062-1/+3
| | | | | | [lagroue@free.fr] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reflect on aggregation ignores :class_name option (fixes #4599) [lars pind]David Heinemeier Hansson2006-04-062-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4609)David Heinemeier Hansson2006-04-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stop respond_to? from throwing when instances are created 'irregularly' i.e. ↵Michael Koziarski2006-04-062-1/+5
| | | | | | yaml loads. [zenspider] Closes #4587 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support eager includes when going through a polymorphic has_many ↵Rick Olson2006-04-053-19/+35
| | | | | | association. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for eagerly including polymorphic has_one associations. ↵Rick Olson2006-04-054-8/+36
| | | | | | (closes #4525) [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added descriptive error messages for invalid has_many :through associations: ↵Rick Olson2006-04-056-10/+64
| | | | | | | | | going through :has_one or :has_and_belongs_to_many [Rick] Added support for going through a polymorphic has_many association: (closes #4401) [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multiple fixes and optimizations in PostgreSQL adapter, allowing ↵Tobias Lütke2006-04-042-7/+27
| | | | | | ruby-postgres gem to work properly. Closes #4461 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get the green light for Oracle AR unit tests (closes #4573) [Michael Schoen]David Heinemeier Hansson2006-04-044-42/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that AssociationCollection#delete_all should work even if the records ↵Florian Weber2006-04-033-0/+22
| | | | | | of the association are not loaded yet. [Florian Weber] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix #3960 [jonrailsdev@shumi.org]David Heinemeier Hansson2006-04-031-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed those private ActiveRecord methods to take optional third argument ↵Rick Olson2006-04-032-7/+10
| | | | | | :auto instead of nil for performance optimizations. (closes #4456) [Stefan] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Abort broken tighter resolution suppression. Closes #4431Nicholas Seckar2006-04-031-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Private ActiveRecord methods add_limit, add_joins, and add_conditions take ↵Rick Olson2006-04-012-4/+11
| | | | | | an OPTIONAL third argument 'scope' (closes #4456) [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4515)David Heinemeier Hansson2006-04-012-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that records returned from has_and_belongs_to_many associations with ↵David Heinemeier Hansson2006-04-015-11/+40
| | | | | | additional attributes should be marked as read only (fixes #4512) [DHH] DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #4521)David Heinemeier Hansson2006-04-011-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* dont merge when you can update (closes #4529) [skaes]David Heinemeier Hansson2006-04-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Do not implicitly mark recordss of has_many :through as readonly but do mark ↵Marcel Molina2006-03-304-9/+17
| | | | | | habtm records as readonly (eventually only on join tables without rich attributes). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* pass the correct reflection to HasManyThroughAssociationPolymorphicErrorRick Olson2006-03-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed broken OCIAdapter (closes #4457) [schoenm@earthlink.net]David Heinemeier Hansson2006-03-302-8/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for releaseDavid Heinemeier Hansson2006-03-283-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* to_xml documentation [DHH, Koz]Michael Koziarski2006-03-281-1/+61
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4087 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* regression test for #4206Rick Olson2006-03-281-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add 1.0 marker to edge rails changelongsMarcel Molina2006-03-281-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* documentation for polymorphic joinsRick Olson2006-03-281-1/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentationDavid Heinemeier Hansson2006-03-287-103/+109
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de