- 28 5月, 2017 13 次提交
-
-
由 Matthew Draper 提交于
Enable extending even if scope returns nil
-
由 Matthew Draper 提交于
Remove unused `Association#interpolate`
-
由 Kasper Timm Hansen 提交于
Bring back delayed_job to test list
-
由 yuuji.yaginuma 提交于
`delayed_job_active_record` 4.1.2 supports Rails 5.1. Ref: https://github.com/collectiveidea/delayed_job_active_record/pull/138
-
由 yuuji.yaginuma 提交于
-
由 Kasper Timm Hansen 提交于
If users added an attribute or otherwise changed a CurrentAttributes subclass they'd see exceptions on the next page load. Because `ActiveSupport::CurrentAttributes.current_instances` would keep references to the old instances from the previous request. We can fix this by clearing out the `current_attributes` before we unload constants. Then any change to the model can be autoloaded again since its slot isn't taken by an old instance. We'll still have to call reset before we clear so external collaborators, like Time.zone, won't linger with their current value throughout other code.
-
由 Kasper Timm Hansen 提交于
The app is booted by then, so there's no need to stash the code away in some other script.
-
由 Kasper Timm Hansen 提交于
Since we're generating a key through the class name we can combine the two Thread.current calls into a single hash version.
-
由 Matthew Draper 提交于
Add lazy loading to #keys and #values methods in Session
-
由 Matthew Draper 提交于
Fix regression in Numericality validator
-
由 Matthew Draper 提交于
Includes namespace in system test skelton when namespace is specified
-
由 yuuji.yaginuma 提交于
Fixes #29247
-
由 Ryuta Kamizono 提交于
Using `Association#interpolate` was removed since #11251.
-
- 27 5月, 2017 22 次提交
-
-
由 Bradley Priest 提交于
a user input for a decimal column were ignored by numerically validations
-
由 Kasper Timm Hansen 提交于
`find` raises when it can't find a record, so we'll never reach the else. Switch to `find_by` which returns nil when no record can be found.
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
-
由 Matthew Draper 提交于
[ci skip]fix wrong variable name in docs
-
由 Richard Schneeman 提交于
[ci skip]fix wrong variable name in docs
-
由 Makoto Nihei 提交于
-
由 Makoto Nihei 提交于
-
由 Matthew Draper 提交于
https://github.com/guard/rb-inotify/pull/49 has been merged.
-
由 Rafael França 提交于
Doc updates for ActiveRecord::Batches
-
由 Rafael França 提交于
Fix broken RDoc formatting
-
由 Rafael Mendonça França 提交于
Update to Rails ujs readme
-
由 Adrian Stainforth 提交于
-
由 T.J. Schuck 提交于
[ci skip]
-
由 Rafael França 提交于
[ci skip] Changed sentence formation for ActiveRecordRelation#update
-
由 Rafael França 提交于
Provides friendlier way to access queue adapters of a job.
-
由 T.J. Schuck 提交于
[ci skip]
-
由 Rafael França 提交于
Do not show --webpack option in the plugin help message
-
由 Matthew Draper 提交于
Remove a redundant test assertion
-
由 David Heinemeier Hansson 提交于
* Add ActiveSupport::CurrentAttributes to provide a thread-isolated attributes singleton * Need to require first * Move stubs into test namespace. Thus they won't conflict with other Current and Person stubs. * End of the line for you, whitespace! * Support super in attribute methods. Define instance level accessors in an included module such that `super` in an overriden accessor works, akin to Active Model. * Spare users the manual require. Follow the example of concerns, autoload in the top level Active Support file. * Add bidelegation support * Rename #expose to #set. Simpler, clearer * Automatically reset every instance. Skips the need for users to actively embed something that resets their CurrentAttributes instances. * Fix test name; add tangible name value when blank. * Try to ensure we run after a request as well. * Delegate all missing methods to the instance This allows regular `delegate` to serve, so we don't need bidelegate. * Properly test resetting after execution cycle. Also remove the stale puts debugging. * Update documentation to match new autoreset
-
由 Koichi ITO 提交于
-
由 Matthew Draper 提交于
CI against JRuby 9.1.10.0
-
- 26 5月, 2017 5 次提交
-
-
由 ash 提交于
-
由 Mohit Natoo 提交于
fixed indentation. rebased with master.
-
由 Mohit Natoo 提交于
- removed predicate method. Used only reader.
-
由 Mohit Natoo 提交于
-
由 Guillermo Iguaran 提交于
Remove unused test class
-