- 12 5月, 2014 2 次提交
-
-
由 Guillermo Iguaran 提交于
Improve documentation
-
由 Chris Beer 提交于
-
- 11 5月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 10 5月, 2014 5 次提交
-
-
由 Vijay Dev 提交于
-
由 Yves Senn 提交于
Closes #15024. These operations happen before instances are created. The current behavior is misleading and can result in broken behavior.
-
由 schneems 提交于
-
由 Zac 提交于
When scanning the Enum API page I found it easy to miss that scopes are generated. Adding an example clarifies use and has more... *pop*...
-
由 Arthur Neves 提交于
We are reverting these commits, because there are other caveats related to dirty attributes not being restored when a transaction is rollback. For instance, nested transactions cannot proper restore the dirty attributes state after a rollback. At the moment, the dirty attributes are scoped by the transaction. When we call `.save` on a record, the dirty attributes will be reset even if the transaction gets rollback. [related #13166] [related #15018] [related #15016] [closes #15019] This reverts commits * bab48f0a * b0fa7cf3. * 73fb39b6 * 37c23892. * 8d8d4f15 Revert "Merge pull request #13166 from bogdan/transaction-magic"
-
- 09 5月, 2014 2 次提交
-
-
由 Vijay Dev 提交于
-
由 Aaron Patterson 提交于
I wanted the middle model to be anonymous, but we have to give it a name for marshal support. :'(
-
- 08 5月, 2014 5 次提交
-
-
由 Fred Wu 提交于
HABTM should fall back to using the normal CollectionAssociation's size calculation if the collection is not cached or loaded. This addresses both #14913 and #14914 for master.
-
由 Arthur Neves 提交于
-
由 Paul B 提交于
-
由 Arthur Neves 提交于
[related #13166]
-
由 schneems 提交于
-
- 07 5月, 2014 1 次提交
-
-
由 Jon Atack 提交于
Rewrite to avoid 'we'/'you', add missing period, and keep lines at 80 chars. Cheers :) Improve readability with help from @senny [ci skip]
-
- 06 5月, 2014 4 次提交
-
-
由 Fred Wu 提交于
-
由 eileencodes 提交于
Now that delete_all with destroy or delete_all dependency behave the same we no longer need this conditional. This means we can remove the new delete_all_with_dependency method I added and go straight to delete_records from delete_all, passing :all and the dependent directly.
-
由 Eric Chahin 提交于
Added #join_id_for(owner) to reflection to avoid accessing the source_macro
-
由 Jenner LaFave 提交于
This makes table_name_suffix work the same as table_name_prefix when using namespaced models. Pretty much the same as 67d1cec4.
-
- 05 5月, 2014 3 次提交
-
-
由 Bogdan Gusiev 提交于
This is a regression 4.0 -> 4.1 fix. In 4.1.0 Relation#join is delegated to Arel#SelectManager. In 4.0 series it is delegated to Array#join This patch puts back the behaviour of 4.0
-
由 Rafael Mendonça França 提交于
The case where the value is present is more common
-
由 Kuldeep Aggarwal 提交于
-
- 04 5月, 2014 6 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
column_for will raise in case column is not found for the given table, so there is no need to handle that here.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
-
- 03 5月, 2014 4 次提交
-
-
由 Yves Senn 提交于
This is a follow up to #14139. /cc @carlosantoniodasilva
-
由 Greg Molnar 提交于
-
由 Aaron Patterson 提交于
bind parameters we not being propogated to simple subquery calculation calls. This fixes it
-
由 James Coleman 提交于
-
- 01 5月, 2014 3 次提交
-
-
由 Eric Chahin 提交于
associations were not being saved. Fixes #13854. [Eric Chahin, Aaron Nelson, & Kevin Casey]
-
由 Hector Satre 提交于
-
由 Paul Nikitochkin 提交于
For mysql2/mysql adapters, `sql_mode` variable name set in `database.yml` as string, was ignored and `sql_mode` was set to use strict mode. Fixes #14895
-
- 29 4月, 2014 4 次提交
-
-
由 Yves Senn 提交于
-
由 eileencodes 提交于
Nullify (or nil dependency) was doing the same thing delete_all was doing in issue #14546, creating a large IN statement if the association was loaded. Loaded and not loaded associations should behave the same. The IN statement is also not great because it's inefficient.
-
由 anilmaurya 提交于
-
由 eileencodes 提交于
After reviewing this code I realized the conditional that was there previously was basically saying if the dependency is not delete all. This is a better, cleaner, and clearer way to write this method.
-