- 17 1月, 2012 2 次提交
-
-
由 Jon Leighton 提交于
See the CHANGELOG for details. Fixes #950.
-
由 Jon Leighton 提交于
This reverts commit c99d507f.
-
- 07 1月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
- instance_variables return symbols in 1.9 - there is instance_variable_defined? method
-
- 29 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 28 12月, 2011 1 次提交
-
-
- 22 12月, 2011 1 次提交
-
-
由 lest 提交于
-
- 21 12月, 2011 2 次提交
-
-
由 Arun Agrawal 提交于
fixes #3183
-
由 Arun Agrawal 提交于
-
- 18 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
when fetching ids for a collection, bypass preloading to avoid the unnecessary performance overhead
-
- 16 12月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Allows two models to use the same table but have different primary keys.
-
- 15 12月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 10 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 09 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 01 12月, 2011 1 次提交
-
-
由 Jay Levitt 提交于
-
- 30 11月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 28 11月, 2011 1 次提交
-
-
由 Josh Susser 提交于
-
- 25 11月, 2011 1 次提交
-
-
由 Brian Samson 提交于
load has_many associations keyed off a custom primary key if that key is present but the record is unsaved
-
- 04 11月, 2011 1 次提交
-
-
由 Jeremy Kemper 提交于
Preserve SELECT columns on the COUNT for finder_sql when possible
-
- 03 11月, 2011 3 次提交
-
-
由 Jon Leighton 提交于
If a record is removed from a has_many :through, all of the join records relating to that record should also be removed from the through association's target. (Previously the records were removed in the database, but only one was removed from the in-memory target array.)
-
由 Jon Leighton 提交于
Fixes #3425.
-
由 Jon Leighton 提交于
Fixes creating records in a through association with a polymorphic source type.
-
- 28 9月, 2011 1 次提交
-
-
由 Rocky Jaiswal 提交于
-
- 26 9月, 2011 3 次提交
-
-
由 Jon Leighton 提交于
Fix: habtm doesn't respect select query method
-
由 Jon Leighton 提交于
Closes #3104.
-
由 Jon Leighton 提交于
CollectionProxy#replace should change the DB records rather than just mutating the array. Fixes #3020.
-
- 07 9月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 06 9月, 2011 4 次提交
-
-
由 Jon Leighton 提交于
Nested through associations: preloads from the default scope of a through model should not be included in the association scope. (We're already excluding includes.) Fixes #2834.
-
由 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.
-
由 Jon Leighton 提交于
Disable active record marshalling tests on Ruby 1.8.7 on Travis CI, as they have been failing intermittently for a long while due to what appears to be a Ruby bug. If anyone has the skills/expertise/time to debug this, please speak to the Travis guys.
-
由 Georg Friedrich 提交于
-
- 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.
-
- 15 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 13 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
We were experiencing CI test failures, for example: * 3-1-stable: http://travis-ci.org/#!/rails/rails/builds/79473/L407 * master: http://travis-ci.org/#!/rails/rails/builds/79507/L80 These failures only happened on 1.8.7-p352, and we were only able to reproduce on the Travis CI VM worker. We even tried creating a new 32 bit Ubuntu VM and running the tests on that, and it all worked fine. After some epic trial and error, we discovered that replacing the following: fuu = Marshal.load(Marshal.dump(fuu)) with: marshalled = Marshal.dump(fuu) fuu = Marshal.load(marshalled) seemed to prevent the failure. We have NO IDEA why this is. If anyone has some great insight to contribute then that is welcome. Otherwise, hopefully this will just help us get the CI green again. Many thanks to @joshk for help with sorting this out.
-
- 06 8月, 2011 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 19 7月, 2011 1 次提交
-
-
由 Elliot Winkler 提交于
-
- 12 7月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 09 7月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Ensure that the foreign key gets set when doing record.create_association or record.create_association. Fixes #1960.
-