- 30 9月, 2013 3 次提交
- 29 9月, 2013 2 次提交
-
-
由 thedarkone 提交于
TS::Cache#compute_if_absent guarantees that only a single thread will get to execute the provided block for a given key.
-
由 Arthur Neves 提交于
Also renaming ivar @odd_or_even to @odd
-
- 28 9月, 2013 2 次提交
-
-
由 Paul Nikitochkin 提交于
In order to build associated records for owners which has not been saved need to get where values to use as default attributes. But for new record owner uses `ActiveRecord::NullRelation` which override `where_values_hash` to return empty hash stub. `where_values_hash` is not used to invoke any sql query, but good to build others chains (even will be never executed) like: ```ruby post = Post.new admin_comment = post.admin_comments.build assert_equal 'Admin', admin_comment.author ``` Closes #11376, #11676, #11675
-
由 Marc Lennox 提交于
-
- 26 9月, 2013 7 次提交
-
-
由 Arthur Neves 提交于
.find([1]) should return an Array of entries, even when a invese object is in memory already
-
由 Arthur Neves 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
owners once
-
由 Aaron Patterson 提交于
the @associated_records_by_owner ivar
-
由 Aaron Patterson 提交于
-
- 25 9月, 2013 7 次提交
-
-
由 Aaron Patterson 提交于
code
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
conditionals from the individual preloaded classes
-
由 wangjohn 提交于
If you are passed an empty hash, then assign_attributes doesn't need to do any work and can just return early. This should fix the failing Agile Web Development tests.
-
- 24 9月, 2013 10 次提交
-
-
由 kennyj 提交于
ActiveRecord::ConnectionAdapters::Column.string_to_time method respects string with timezone. Closes #12278.
-
由 kennyj 提交于
-
由 Aaron Patterson 提交于
and possibly different rules for finding those objects
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 23 9月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
Make AM::Dirty less dirty to plugin into AR or other library
-
- 22 9月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
This will make easier to hook protected_attributes gem in our code without making that gem fragile to change in Rails code base. Closes #12243
-
- 21 9月, 2013 7 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-