aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
...
* revises the deprecation warning of update_attributeXavier Noria2012-08-011-1/+1
| | | | | | | We have decided not to drop this important method in 4.0 and give it a longer deprecation cycle. On the other hand we do not expect to have update_column around for a long time, it is going to be replaced in favor of update_columns.
* Revert "Deprecating composed_of in ActiveRecord"Rafael Mendonça França2012-08-011-6/+0
| | | | This reverts commit 44b313bc4e3762da64dde7894548f81c595147de.
* Revert "Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-0/+3
| | | | | | | | | | This reverts commit a79bfa92e7bdc31b346d13ee5447d3fdac382bfb. Conflicts: activerecord/CHANGELOG.md We shouldn't introducing deprecations in point releases. It will be deprecated in 4.0 instead.
* Add missing CHANGELOG entriesSantiago Pastorino2012-08-011-0/+6
| | | | [ci skip]
* Add CHANGELOG entry [ci skip]Rafael Mendonça França2012-07-311-0/+8
|
* Revert "Add update_columns and the suggestion of using update_columnsRafael Mendonça França2012-07-301-1/+1
| | | | | | | | | | | | | | | | instead of update_column" This reverts commit 9fa06c3d9811113259cb6e00a3a8454b3974add7. This reverts commit 17a64de4980683da3ca3c185205013a29a8cf88d. This reverts commit def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c, reversing changes made to 6b7d26cf3c061907aedc44f7f36776c9b36950fd. Reason: This was supposed to be released with 3.2.7 before the suggestion to use update_column. Since it was not release now is not good to suggest to use another method because it will confusing the people.
* Merge branch '3-2-rel' into 3-2-stableAaron Patterson2012-07-261-1/+1
|\ | | | | | | | | | | | | | | | | | | * 3-2-rel: updating release date bumping to 3.2.7 updating the changelog * Do not convert digest auth strings to symbols. CVE-2012-3424 updating the version updating changelogs
| * updating release dateAaron Patterson2012-07-261-1/+1
| |
* | Switched update_column recommendation in changelog to update_columnsPhilip Arndt2012-07-261-1/+1
|/ | | This is related to #7159
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-0/+11
|
* Deprecating composed_of in ActiveRecordSteve Klabnik2012-06-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature adds a lot of complication to ActiveRecord for dubious value. Let's talk about what it does currently: class Customer < ActiveRecord::Base composed_of :balance, :class_name => "Money", :mapping => %w(balance amount) end Instead, you can do something like this: def balance @balance ||= Money.new(value, currency) end def balance=(balance) self[:value] = balance.value self[:currency] = balance.currency @balance = balance end Since that's fairly easy code to write, and doesn't need anything extra from the framework, if you use composed_of today, you'll have to add accessors/mutators like that. This feature will be removed in Rails 4.
* registers the deprecation of update_attribute in the CHANGELOGXavier Noria2012-06-141-0/+8
|
* updating changelogsAaron Patterson2012-06-121-1/+3
|
* updating changelogs with security fixesAaron Patterson2012-06-111-0/+4
|
* Revert "Perf: Don't load the association for #delete_all."Jon Leighton2012-06-071-0/+12
| | | | | | | | | | This reverts commit b98d1e21635d8776de8893cc09bd86c71f6c78f0. Closes #6609 Conflicts: activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb
* Add release date of 3.2.5 on the CHANGELOGRafael Mendonça França2012-06-011-0/+9
|
* adding security notifications to CHANGELOGsAaron Patterson2012-05-311-0/+3
|
* updating changelogsAaron Patterson2012-05-311-1/+7
|
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-0/+3
| | | | | | | | Bug #6289 Conflicts: activerecord/test/cases/associations/has_many_associations_test.rb
* Add release data to Rails 3.2.3Rafael Mendonça França2012-04-301-1/+1
|
* Revert "Revert "Fix #5667. Preloading should ignore scoping.""Benedikt Deicke2012-04-191-0/+6
| | | | | | | | This reverts commit 1166d49f62ccab789be208112163ad13183224e2. Conflicts: activerecord/test/cases/associations/eager_test.rb
* Revert "Fix #5667. Preloading should ignore scoping."Jeremy Kemper2012-04-181-6/+0
| | | | | | | | Causes a subtle regression where record.reload includes the default scope. Hard to reproduce in isolation. Seems like the relation is getting infected by some previous usage. This reverts commit dffbb521a0d00c8673a3ad6e0e8ff526f32daf4e.
* Fix #5667. Preloading should ignore scoping.Jon Leighton2012-03-301-0/+6
| | | | | | Conflicts: activerecord/test/cases/associations/eager_test.rb
* Add dynamic find_or_create_by_{attribute}! method.Andrew White2012-03-121-0/+2
| | | | | | | | | (cherry picked from commit 5282485d310d1a6ffcf55e4e7f56ab234e16880d) Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/dynamic_finder_match.rb
* Fix my name in the CHANGELOG to follow the conventionRafael Mendonça França2012-03-091-2/+11
| | | | Also add missing entries and use the formating convention
* changelog updates [ci skip]Vijay Dev2012-03-091-0/+14
|
* CHANGELOG revision for v3.2.1Xavier Noria2012-01-261-2/+6
|
* registers 2483460 in the CHANGELOGXavier Noria2012-01-261-3/+5
|
* Fix another race condition.Jon Leighton2012-01-201-0/+5
| | | | | | | | | | From 2c667f69aa2daac5ee6c29ca9679616e2a71532a. Thanks @pwnall for the heads-up. Conflicts: activerecord/lib/active_record/core.rb
* Preparing for 3.2.0 releaseDavid Heinemeier Hansson2012-01-201-1/+1
|
* Merge pull request #4531 from exviva/pessimistic_with_lockAaron Patterson2012-01-191-1/+28
| | | | Add ActiveRecord::Base#with_lock
* Add CHANGELOG entrySantiago Pastorino2012-01-111-0/+3
|
* Add ActiveSupport::Cache::NullStore to expose caching interface without ↵Brian Durand2011-12-121-0/+4
| | | | actually caching for development and test environments.
* Allow to run migrations with given scope, with SCOPE=<scope>Piotr Sarnacki2011-12-091-0/+12
| | | | | | | | | | | Scope in migrations can be defined by adding suffix in filename, like: 01_a_migration.blog.rb. Such migration have blog scope. Scope is automatically added while copying migrations from engine, so if you want to revert all of the migrations from given engine, you can just run db:migrate with SCOPE, like: rake db:migrate SCOPE=blog
* removes the convenience instance version of AR::Base.silence_auto_explainXavier Noria2011-12-031-2/+2
| | | | | | | Rationale: As discussed with José and Jon, this convenience shortcut is not clearly justified and it could let the user thing the disabled EXPLAINs are related to the model instance rather than being globally disabled.
* implements AR::Base(.|#)silence_auto_explainXavier Noria2011-12-021-0/+3
|
* implements automatic EXPLAIN logging for slow queriesXavier Noria2011-12-021-0/+11
|
* Revert "Added ActiveRecord::Base#last_modified to work with the new ↵David Heinemeier Hansson2011-12-011-1/+0
| | | | | | | | fresh_when/stale? conditional get methods from Action Pack" Needless indirection with no added value. This reverts commit 535853e83b9092078035a5abb2aa242fba815c05.
* Added ActiveRecord::Base#last_modified to work with the new ↵David Heinemeier Hansson2011-12-011-0/+1
| | | | fresh_when/stale? conditional get methods from Action Pack
* ActiveRecord::Relation#pluck methodBogdan Gusiev2011-11-301-0/+9
|
* Automatic closure of connections in threads is deprecated. For exampleAaron Patterson2011-11-291-0/+16
| | | | | | | | | | | | | | | | | the following code is deprecated: Thread.new { Post.find(1) }.join It should be changed to close the database connection at the end of the thread: Thread.new { Post.find(1) Post.connection.close }.join Only people who spawn threads in their application code need to worry about this change.
* Deprecate set_locking_column in favour of self.locking_column=Jon Leighton2011-11-291-0/+1
|
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-0/+1
|
* Deprecate set_sequence_name in favour of self.sequence_name=Jon Leighton2011-11-291-0/+1
|
* Deprecate set_inheritance_column in favour of self.inheritance_column=Jon Leighton2011-11-291-2/+8
|
* Deprecate set_table_name in favour of self.table_name= or defining your own ↵Jon Leighton2011-11-291-0/+16
| | | | method.
* Merge pull request #3636 from joshsusser/masterJon Leighton2011-11-291-0/+6
|\ | | | | association methods are now generated in modules
| * changelog & docs for GeneratedFeatureMethodsJosh Susser2011-11-271-0/+6
| |
* | Perf fixJon Leighton2011-11-191-0/+5
| | | | | | | | | | | | | | If we're deleting all records in an association, don't add a IN(..) clause to the query. Fixes #3672.
* | Add missing CHANGELOG entry for #3678. Closes #3678.Jon Leighton2011-11-191-0/+4
| |