- 02 4月, 2017 5 次提交
-
-
由 Tsukuru Tanimichi 提交于
```ruby nil.respond_to?(:stringify_keys) # => false ``` ```ruby include ActiveModel::AttributeAssignment Object.new.assign_attributes(nil) # => ArgumentError: When assigning attributes, you must pass a hash as an argument. ```
-
由 Matthew Draper 提交于
Limit stale checks to issues
-
由 Jon Moss 提交于
This CHANGELOG.md is a continuation of the 5-1-stable one, there shouldn't be any duplicate entries. [ci skip]
-
由 Jon Moss 提交于
Add default_scope note to ActiveRecord guide
-
由 Brandon Keepers 提交于
-
- 01 4月, 2017 1 次提交
-
-
由 Ross Kaffenberger 提交于
Adds note to explain unexpected behavior described in issue #28561. Developers may be surprised that the internal representation of similar query conditions in Hash and Array formats in default_scope will yield different results for model initialization. Link: https://github.com/rails/rails/issues/28561
-
- 31 3月, 2017 14 次提交
-
-
由 Andrew White 提交于
-
由 Eileen M. Uchitelle 提交于
Fix a failed AR test when running with OracleAdapter
-
由 Andrew White 提交于
CI against Ruby 2.3.4
-
由 Koichi ITO 提交于
-
由 Kasper Timm Hansen 提交于
Add missing backtick to deprecation message
-
由 yuuji.yaginuma 提交于
-
由 Jon Moss 提交于
Fix example usage of ActiveRecord::Base.establish_connection [ci skip]
-
由 Jon Moss 提交于
[ci skip]
-
由 Rafael França 提交于
Restore rails-ujs.js UMD module support
-
由 Rafael França 提交于
Move HashWithIndifferentAccess tests to separate file
-
由 Javan Makhmali 提交于
-
由 Javan Makhmali 提交于
-
由 Simon Dawson 提交于
`ActiveRecord::Base.establish_connection` accepts a single symbol argument to specify a named connection; a single string argument appears to be interpreted as a connection URI
-
- 30 3月, 2017 19 次提交
-
-
由 Andrew White 提交于
Do not include default response headers for AC::Metal
-
由 Andrew White 提交于
Update comment in sanitizer helper test [skip ci]
-
由 Andrew White 提交于
Raise when using a bad symlink
-
由 Michael Stock 提交于
-
由 Ross Kaffenberger 提交于
The previously referenced file no longer appears to exist in the project.
-
由 Jon Moss 提交于
In Rails 4.2, `ActionController::Metal` controllers did not include the default headers from `ActionDispatch::Response`. However, through e16afe61, and a general shift towards having `ActionController::Metal` objects contain `ActionDispatch::Response` objects (instead of just returning an array of status, headers, and body), this behavior was lost. This PR helps to restore the original behavior by having `ActionController::Metal` controllers generate Response objects without the default headers, while `ActionController::Base` now overrides the factory method to make sure its version does have the default headers.
-
由 Sean Griffin 提交于
Add an alias for reverse_merge to with_defaults
-
由 Matt Casper 提交于
In the context of controller parameters, reverse_merge is commonly used to provide defaults for user input. Having an alias to reverse_merge called with_defaults feels more idiomatic for Rails.
-
由 Jon Moss 提交于
Add comma and change verb. [ci skip]
-
由 Rafael França 提交于
add hint on after_action filters
-
由 Rafael França 提交于
Load only needed records on ActiveRecord::Relation#inspect
-
由 Rafael França 提交于
Fix the example code for `Rails.groups` [ci skip]
-
由 Rafael França 提交于
CI against Ruby 2.2.7
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
FinderMethods#fourty_two docs cite proper source
-
由 Rafael França 提交于
Fix link to rails-ujs
-
由 Rafael França 提交于
[ci skip]
-
由 Ryunosuke Sato 提交于
`Rails.groups` contains `Rails.env` that is inspected as String.
-
由 Ryunosuke Sato 提交于
https://github.com/rails/rails-ujs is merged into actionview in favor of https://github.com/rails/rails/pull/28098. [skip ci]
-
- 29 3月, 2017 1 次提交
-