aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* Fix ActiveRecord::Base.compute_type swallowing NoMethodError. [#4751 ↵Andrew Bloomgarden2010-06-081-0/+2
| | | | | | state:resolved] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Temporarily revert "Update after_commit and after_rollback docs and tests to ↵Jeremy Kemper2010-06-081-2/+0
| | | | | | | | | | | | | | 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 commits d2a49e4b1f30c5997e169110eed94a55aee53f56 and da840d13da865331297d5287391231b1ed39721b. [#2991] Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/transactions.rb activerecord/test/cases/transaction_callbacks_test.rb
* Get ready for beta 4David Heinemeier Hansson2010-06-081-1/+1
|
* Revert "Revert "Add index length support for MySQL [#1852 state:open]""Pratik Naik2010-05-091-0/+10
| | | | This reverts commit 6626833db13a69786f9f6cd56b9f53c4017c3e39.
* Revert "Add index length support for MySQL [#1852 state:open]"José Valim2010-05-081-10/+0
| | | | | | | | | | | | | This commit breaks dumping a few tables, as the sessions table. To reproduce, just create a new application and: rake db:sessions:create rake db:migrate rake db:test:prepare And then look at the db/schema.rb file (ht: Sam Ruby). This reverts commit 5b95730edc33ee97f53da26a3868eb983305a771.
* Add index length support for MySQL [#1852 state:resolved]Emili Parreno2010-05-081-0/+10
| | | | | | | | | | | | Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make find_or_create and find_or_initialize work mixing explicit parameters ↵Santiago Pastorino2010-05-071-0/+2
| | | | | | and a hash [#4457 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add after_commit and after_rollback callbacks to ActiveRecord that are ↵Brian Durand2010-04-291-0/+2
| | | | | | | | called after transactions either commit or rollback on all records saved or destroyed in the transaction. [#2991 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵José Valim2010-04-291-0/+2
| | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
* Destroy respects optimistic locking.Curtis Hawthorne2010-04-271-0/+2
| | | | | | | | | | Now works with :dependent => :destroy and includes unit tests for that case. Also includes better error messages when updating/deleting stale objects. [#1966 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Drop support for postgres driver. Use pg >= 0.9.0.Jeremy Kemper2010-04-241-0/+2
|
* improve how ActiveRecord::Observer defines callbacks on observed modelsMislav Marohnić2010-04-161-0/+5
| | | | | | | | | | | | | | | | | | Instead of using a single `notify_observers` call for every callback type, each observer now registers a unique callback for itself. Example: before_save :_notify_user_observer_for_before_save def _notify_user_observer_for_before_save observer.update(:before_save, self) end Benefit: "before" callbacks halt when `observer.update` returns false. This way, ActiveRecord observers can prevent records from saving. [#4087 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Update changelogs for releaseDavid Heinemeier Hansson2010-04-131-1/+1
|
* Add Relation extensionsPratik Naik2010-04-021-0/+10
|
* Add missed changelog for table_name_prefixJeremy Kemper2010-03-291-2/+4
|
* Silenced "SHOW FIELDS" and "SET SQL_AUTO_IS_NULL=0" statements from the ↵David Heinemeier Hansson2010-02-061-0/+5
| | | | MySQL driver to improve log signal to noise ration in development [DHH]
* PostgreSQLAdapter: set time_zone to UTC when Base.default_timezone == :utc ↵Jack Christensen2010-01-251-0/+2
| | | | so that Postgres doesn't incorrectly offset-adjust values inserted into TIMESTAMP WITH TIME ZONE columns [#3777 state:resolved]
* Add missing CHANGELOG entry about relations as scopesPratik Naik2010-01-181-0/+8
|
* Rename named_scope to scopePratik Naik2010-01-181-0/+2
|
* MergeDavid Heinemeier Hansson2010-01-031-0/+5
|\
| * Add Relation#exceptPratik Naik2010-01-031-0/+5
| |
* | Changed ActiveRecord::Base.store_full_sti_class to be true by default ↵David Heinemeier Hansson2010-01-031-0/+2
|/ | | | reflecting the previously announced Rails 3 default [DHH]
* Add Relation#delete_allPratik Naik2009-12-291-0/+4
|
* Add Model.having and Relation#havingPratik Naik2009-12-291-0/+4
|
* Add Relation#countPratik Naik2009-12-281-0/+7
|
* Add Model.readonly and association_collection#readonly finder methodPratik Naik2009-12-281-0/+5
|
* Fix a typo in CHANGELOGPratik Naik2009-12-281-1/+1
|
* Add Model.lock and relation#lock now that arel has lockingPratik Naik2009-12-281-0/+7
|
* Add Model.from and association_collection#from finder methodsPratik Naik2009-12-281-0/+5
|
* Add relation.destroy_allPratik Naik2009-12-271-0/+5
|
* Add relation.exists?Pratik Naik2009-12-271-0/+6
|
* Add find(ids) to relationsPratik Naik2009-12-271-0/+6
|
* Add new finder methods to association collection.Pratik Naik2009-12-271-0/+10
|
* Add relation.reload to force reloading the recordsPratik Naik2009-12-261-0/+8
|
* Add missing changelog entriesPratik Naik2009-12-261-0/+25
|
* Missed changelog entry for :inverse_ofJeremy Kemper2009-12-211-0/+7
|