- 17 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 15 12月, 2011 1 次提交
-
-
由 Andrew Kaspick 提交于
Allow nested attributes in associations to update values in it's owner object. Fixes a regression from 3.0.x
-
- 09 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 30 11月, 2011 6 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Josh Susser 提交于
-
- 28 11月, 2011 1 次提交
-
-
由 Josh Susser 提交于
-
- 04 11月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
This is to avoid confusing newbies, and to be consistent with the fact that other options like :foreign_key already allow a symbol or a string.
-
- 14 10月, 2011 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 David Heinemeier Hansson 提交于
-
- 13 9月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Previously we would just silently write the attribute. This can lead to subtle bugs (for example, see the change in AutosaveAssociation where a through association would wrongly gain an attribute. Also, ensuring that we never gain any new attributes after initialization will allow me to reduce our dependence on method_missing.
-
由 Jon Leighton 提交于
-
- 06 9月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Ensure we are not comparing a string with a symbol in HasManyAssociation#inverse_updates_counter_cache?. Fixes #2755, where a counter cache could be decremented twice as far as it was supposed to be.
-
- 05 9月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
Fixes #2832
-
- 29 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
The join_nodes must be passed to the JoinDependency initializer and therefore counted by the alias tracker. This is because the association_joins are aliased on initialization and then the tables are cached, so it is no use to alias the join_nodes later. Fixes #2556.
-
- 13 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 25 7月, 2011 1 次提交
-
-
由 Gabriel Horner 提交于
-
- 24 7月, 2011 2 次提交
-
-
由 Gabriel Horner 提交于
-
由 Les Fletcher 提交于
fix behavior when after_initialize is defined and a block is passed to Base.create
-
- 12 7月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 01 7月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Assign the association attributes to the associated record before the before_initialize callback of the record runs. Fixes #1842.
-
- 24 6月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 13 6月, 2011 2 次提交
-
-
由 Andrew White 提交于
-
由 Jon Leighton 提交于
-
- 03 6月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
-
- 01 6月, 2011 2 次提交
-
-
由 Erik Fonselius 提交于
-
由 Farley Knight 提交于
-
- 25 5月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Andrew White 提交于
-
- 24 5月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 20 5月, 2011 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 18 5月, 2011 1 次提交
-
-
由 Andrew White 提交于
The build_association method was added as an API for plugins to hook into in 1398db01. This commit restores this API and the ability to override class.new to return a subclass based on a virtual attribute in the attributes hash.
-
- 15 5月, 2011 2 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Jon Leighton 提交于
CollectionAssociation#merge_target_lists should write to the underlying attributes when copying, rather than using the assignment method
-
- 13 5月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Don't use mass-assignment protection when setting foreign keys or association conditions on singular associations. Fixes #481 (again).
-
- 11 5月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Add test to specify that attributes from an association's conditions should be assigned without mass-assignment protection when a record is built on the association.
-