- 22 6月, 2017 1 次提交
-
-
由 John Hawthorn 提交于
-
- 21 6月, 2017 10 次提交
-
-
由 John Hawthorn 提交于
The `@offsets` cache is used by FinderMethods to cache records found by find_nth. This cache is cleared in AR::Relation#reset, but not in CollectionProxy#reset or CollectionProxy#reload. Because of this, since #29098, calling #first/#find_nth/etc after calling #reload or #reset on an association could return a stale record. This is an issue both when the full association target is loaded and when the item is loaded in #find_nth. This commit solves the problem by clearing the `@offsets` cache in CollectionProxy#reset and CollectionProxy#reload.
-
由 Rafael França 提交于
Fix ActiveRecord::Persistence#touch with locking
-
由 bogdanvlviv 提交于
`ActiveRecord::Persistence#touch` does not work well when optimistic locking enabled and `locking_column`, without default value, is null in the database.
-
由 Rafael França 提交于
Fix destroy with locking_column value null
-
由 bogdanvlviv 提交于
Fix destroying existing object does not work well when optimistic locking enabled and `locking column` is null in the database. Follow 22a822e5, #28914
-
由 Rafael França 提交于
Updates README on rails internal dev tools
-
由 Marc Ignacio 提交于
... and minor typo fix
-
由 Rafael França 提交于
Use bulk INSERT to insert fixtures
-
由 Kir Shatrov 提交于
Improves the performance from O(n) to O(1). Previously it would require 50 queries to insert 50 fixtures. Now it takes only one query. Disabled on sqlite which doesn't support multiple inserts.
-
由 Akira Matsuda 提交于
-
- 20 6月, 2017 15 次提交
-
-
由 Rafael França 提交于
Fix current_page? helper issue with engine root path
-
由 Rafael França 提交于
Add test cases for optimistic locking
-
由 Prathamesh Sonpatki 提交于
-
由 Rafael França 提交于
prepare for Minitest 6
-
由 utilum 提交于
-
由 Rafael França 提交于
Use of ParameterFilter no longer forces `request.filtered_parameters' class to be Hash
-
由 savroff 提交于
fix fix
-
由 savroff 提交于
-
由 Rafael França 提交于
nodoc AC::Connection::WebSocket
-
由 Rafael França 提交于
Fix `Relation#exists?` queries with query cache
-
由 Rafael França 提交于
Prevent extra `scope` construction in `find_target`
-
由 Rafael França 提交于
Refactor #insert_fixtures to use Arel
-
由 Rafael França 提交于
Deprecate an `capify!` method in generators and templates
-
由 Kir Shatrov 提交于
-
由 Rafael França 提交于
CI against JRuby 9.1.12.0
-
- 19 6月, 2017 3 次提交
-
-
由 Vipul A M 提交于
Fix examples for `AC::Parameters#to_query` [ci skip]
-
由 yuuji.yaginuma 提交于
Without `permit`, `AC::Parameters#to_query` raise `AC::UnfilteredParameters`. ```ruby params = ActionController::Parameters.new({ name: "David", nationality: "Danish" }) params.to_query # => ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash ```
-
-
- 18 6月, 2017 8 次提交
-
-
由 Matthew Draper 提交于
Add a test case for #28754
-
由 Matthew Draper 提交于
Remove debug print
-
由 Ryuta Kamizono 提交于
Because constructing `scope` is a little expensive.
-
由 yuuji.yaginuma 提交于
The `capify` command has been removed by Capistrano 3 and became to `cap install`. Therefore, the `capify!` method has no meaning in Capistrano 3. I think that should deprecate. Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018
-
由 Ryuta Kamizono 提交于
This debug print was added in 87f5e5e2 for finding the regression caused by d314646c and the regression has already been fixed in 969339bd.
-
由 Ryuta Kamizono 提交于
A part for JSON was splitted from #28416 as #29273 and #29273 has already been merged. Closes #28754. Closes #27588. [Ryuta Kamizono & Bradley Priest]
-
由 Matthew Draper 提交于
Fixes FIXME: rb-inotify 0.99 has been released
-
由 utilum 提交于
-
- 17 6月, 2017 3 次提交
-
-
由 Vipul A M 提交于
[ci skip] Update fedora SQLite3 package name
-
由 utilum 提交于
-
由 Guillermo Iguaran 提交于
Remove unused defined association
-