aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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]
* 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
|