aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Added new #update_column method.Sebastian Martinez2011-03-271-0/+9
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-051-0/+3
|\ | | | | | | | | Conflicts: activerecord/CHANGELOG
| * implements ActiveRecord::Base.connection_config to be able to check the ↵Xavier Noria2011-03-051-0/+3
| | | | | | | | configuration of the current connection at runtime
* | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-4/+0
|\|
* | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-3/+175
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/class_methods/join_dependency.rb activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb activerecord/lib/active_record/associations/has_many_association.rb activerecord/lib/active_record/associations/has_many_through_association.rb activerecord/lib/active_record/associations/has_one_association.rb activerecord/lib/active_record/associations/has_one_through_association.rb activerecord/lib/active_record/associations/through_association_scope.rb activerecord/lib/active_record/reflection.rb activerecord/test/cases/associations/has_many_through_associations_test.rb activerecord/test/cases/associations/has_one_through_associations_test.rb activerecord/test/cases/reflection_test.rb activerecord/test/cases/relations_test.rb activerecord/test/fixtures/memberships.yml activerecord/test/models/categorization.rb activerecord/test/models/category.rb activerecord/test/models/member.rb activerecord/test/models/reference.rb activerecord/test/models/tagging.rb
| * removing limits and offsets from COUNT queries unless both are specified. ↵Aaron Patterson2011-02-251-0/+9
| | | | | | | | [#6268 state:resolved]
| * Split AssociationProxy into an Association class (and subclasses) which ↵Jon Leighton2011-02-181-0/+12
| | | | | | | | manages the association, and a CollectionProxy class which is *only* a proxy. Singular associations no longer have a proxy. See CHANGELOG for more.
| * Allow building and then later saving has_many :through records, such that ↵Jon Leighton2011-02-181-0/+24
| | | | | | | | the join record is automatically saved too. This requires the :inverse_of option to be set on the source association in the join model. See the CHANGELOG for details. [#4329 state:resolved]
| * Add interpolation of association conditions back in, in the form of proc { ↵Jon Leighton2011-02-141-2/+21
| | | | | | | | ... } rather than instance_eval-ing strings
| * Support the :dependent option on has_many :through associations. For ↵Jon Leighton2011-02-071-0/+8
| | | | | | | | historical and practical reasons, :delete_all is the default deletion strategy employed by association.delete(*records), despite the fact that the default strategy is :nullify for regular has_many. Also, this only works at all if the source reflection is a belongs_to. For other situations, you should directly modify the through association.
| * Make record.association.destroy(*records) on habtm and hm:t only delete ↵Jon Leighton2011-02-071-0/+19
| | | | | | | | records in the join table. This is to make the destroy method more consistent across the different types of associations. For more details see the CHANGELOG entry.
| * Add :bulk => true option to change_tablePratik Naik2011-01-311-0/+13
| |
| * Add CHANGELOG entry for the addition of create_association! methods on ↵Jon Leighton2011-01-161-0/+2
| | | | | | | | has_one and belongs_to
| * Removed support for accessing attributes on a has_and_belongs_to_many join ↵Jon Leighton2011-01-161-1/+5
| | | | | | | | table. This has been documented as deprecated behaviour since April 2006. Please use has_many :through instead. A deprecation warning will be added to the 3-0-stable branch for the 3.0.4 release.
| * updates AR's CHANGELOG with changes in 9e64dfa and ad343d7Xavier Noria2011-01-161-0/+4
| |
| * Aligning master changelog w/ 3-0-stableKevin Moore2011-01-091-1/+9
| |
| * removing SQL interpolation, please use scoping and attribute conditionals as ↵Aaron Patterson2010-12-221-0/+3
| | | | | | | | a replacement
| * Remove weak_passwords list and the length/strong password validator, leave ↵Santiago Pastorino2010-12-191-5/+5
| | | | | | | | that up to the programmer
| * Switch from SHA2 to BCrypt (easy Windows compatibility is coming shortly ↵David Heinemeier Hansson2010-12-181-1/+1
| | | | | | | | with new compiled gem)
| * Added ActiveRecord::Base#has_secure_password (via ↵David Heinemeier Hansson2010-12-181-0/+19
| | | | | | | | ActiveModel::SecurePassword) to encapsulate dead-simple password usage with SHA2 encryption and salting
| * Generate add_index by default when giving type belongs_to or referencesSantiago Pastorino2010-12-161-0/+22
| |
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-12-121-1/+6
|\| | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/associations/class_methods/join_dependency.rb activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb activerecord/lib/active_record/associations/has_many_through_association.rb
| * updating CHANGELOGAaron Patterson2010-12-081-0/+3
| |
| * rolling out migrated_at until I can fix the buildAaron Patterson2010-12-011-4/+0
| |
| * updating CHANGELOGAaron Patterson2010-12-011-0/+4
| |
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-0/+38
|\| | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/associations.rb
| * updating changelog for dup and clone semanticsAaron Patterson2010-11-231-0/+11
| |
| * wtf vimAaron Patterson2010-11-191-1/+1
| |
| * adding Migration#change to the CHANGELOGAaron Patterson2010-11-191-0/+18
| |
| * updating CHANGELOGAaron Patterson2010-11-171-0/+9
| |
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-0/+29
|\| | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/has_many_through_association.rb activerecord/test/cases/associations/has_many_through_associations_test.rb
| * syncs CHANGELOGs for 3.0.2 in 3-0-stable with the ones in masterXavier Noria2010-11-091-0/+29
| |
* | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-0/+3
|\| | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/test/schema/schema.rb
| * has_one maintains the association with separate after_create/after_updateXavier Noria2010-10-221-0/+3
| | | | | | | | | | This way parent models can get their own after_create and after_update callbacks fired after has_one has done its job.
* | Add a CHANGELOG entry about nested through associationsJon Leighton2010-10-191-0/+2
|/
* Merge CHANGELOGs from 3-0-stableSantiago Pastorino2010-10-181-0/+4
|
* removing nonsensical tests, limit now actually adds a limitAaron Patterson2010-09-151-1/+13
|
* Update CHANGELOGs for 3.0 release and upcoming 3.1Jeremy Kemper2010-08-291-16/+2
|
* Clean up CHANGELOGsJeremy Kemper2010-08-281-0/+10
|
* change 'a SQL' to 'an SQL' as suggested by the api documentation guidelinesJaime Iniesta2010-08-261-2/+2
|
* lifecycle should be two words, life cycleJaime Iniesta2010-08-261-1/+1
|
* applied guidelines to "# =>"Paco Guzman2010-08-121-1/+1
|
* Prep for RCDavid Heinemeier Hansson2010-07-261-1/+1
|
* Add missing entries and tidy up CHANGELOG.José Valim2010-07-191-0/+2
|
* Add missing CHANGELOG items.José Valim2010-06-301-0/+2
|
* Update CHANGELOGs.José Valim2010-06-281-1/+4
|
* Information about new rake task in CHANGELOGŁukasz Strzałkowski2010-06-281-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Clean CHANGELOG whitespace.Emilio Tagua2010-06-221-254/+254
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* setting the timezone in postgres to whatever ruby thinks the timezone is ↵Aaron Patterson2010-06-171-0/+5
| | | | | | [#4895 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "Temporarily revert "Update after_commit and after_rollback docs and ↵Jeremy Kemper2010-06-081-0/+2
| | | | | | | | tests to use new style API with an :on options instead of on_* suffix." and "Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction."" This reverts commit 1b2941cba1165b0721f57524645fe378bee2a950. [#2991]