- 21 7月, 2017 1 次提交
-
-
由 Maxime Lapointe 提交于
Post.where(id: 1).or(Post.where(id: 2)).where(foo: 3).unscope(where: :foo).where_clause.binds.map(&:value) Would return [2, 3] instead of the expected [1,2]
-
- 20 7月, 2017 3 次提交
-
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Create `rails@localhost` user on travis ci
-
由 Kasper Timm Hansen 提交于
-
- 18 7月, 2017 6 次提交
-
-
由 Sean Griffin 提交于
Backport #29821 to 5-1-stable
-
由 Kasper Timm Hansen 提交于
Set `RAILS_ENV` before load application file
-
由 Rafael França 提交于
Merge pull request #29757 from lugray/hash_with_indifferent_access_default
-
由 Sean Griffin 提交于
Fix HashWithIndifferentAccess#default when include?(nil)
-
由 Rafael França 提交于
Scrub the invalid paramter value before using it in the error
-
由 Andrew White 提交于
Added fixed links to code for Rails Guides ActiveSupport
-
- 17 7月, 2017 2 次提交
-
-
由 Sean Griffin 提交于
This change was introduced by #18109. The intent of that change was to specifically apply `unscoped`, not to allow all changes to `current_scope` to affect the join. The idea of allowing `current_scope` to affect joins is interesting and potentially more consistent, but has sever problems associated with it. The fact that we're specifically stripping out joins indicates one such problem (and potentially leads to invalid queries). Ultimately it's difficult to reason about what `Posts.joins(:users)` actually means if it's affected by `User.current_scope`, and it's difficult to specifically control what does or doesn't get added. If we were starting from scratch, I don't think I'd have `joins` be affected by `default_scope` either, but that's too big of a breaking change to make at this point. With this change, we no longer apply `current_scope` when bringing in joins, with the singular exception of the motivating use case which introduced this bug, which is providing a way to *opt-out* of having the default scope apply to joins. Fixes #29338.
-
由 Ryuta Kamizono 提交于
Replace Erubis with Erubi in a part of guide [ci skip]
-
- 13 7月, 2017 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Merge pull request #29772 from y-yagi/allow_to_edit_secrets_in_mutiple_applications_at_the_same_time Allow to edit secrets in mutiple apps at the same time
-
- 11 7月, 2017 4 次提交
-
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Don't eagerly require Rails' minitest plugin.
-
- 09 7月, 2017 3 次提交
-
-
由 Matthew Draper 提交于
Do not update `secrets.yml.enc` when secretes do not change
-
由 Kasper Timm Hansen 提交于
Treat secrets as binary
-
由 Kasper Timm Hansen 提交于
Load environment file in `dbconsole` command
-
- 08 7月, 2017 1 次提交
-
-
由 eileencodes 提交于
It's possible for developers toadd a custom driver and then call it using `driven_by`. Because we were only skipping `register` for `:rack_test` that meant any custom driver would attempt to be registered as well. The three listed here are special because Rails registers them with special options. If you're registering your own custom driver then you don't want to separately register that driver. Fixes #29688
-
- 06 7月, 2017 2 次提交
-
-
由 Rafael França 提交于
Allow mounting same engine under several locations
-
由 Rafael Mendonça França 提交于
Now that the parameters configurations are only loaded when ActionController::Base is we need to foce them to load in our tests. In an application this is not needed since every request already load the controllers.
-
- 05 7月, 2017 5 次提交
-
-
由 Rafael França 提交于
Add missing `attr_name.to_s` in `AttributeMutationTracker`
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
We need to configure it only when ActionController::Base is loaded otherwise configs on initializers will not work. Closes #29527.
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Allow the use of Bundler 2.0
-
- 01 7月, 2017 4 次提交
-
-
由 Rafael França 提交于
Fix the class name --> ActionController::Parameters [ci skip]
-
由 Prathamesh Sonpatki 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Fallback Parameters#to_s to Hash#to_s
-
- 29 6月, 2017 3 次提交
-
-
由 Rafael França 提交于
Fix to scoping is correctly restored
-
由 Rafael França 提交于
Fix `ids_reader` to respect case sensitive primary key
-
由 Eileen M. Uchitelle 提交于
ActiveRecord: do not create "has many through" records that have been removed
-
- 28 6月, 2017 5 次提交
-
-
由 Richard Schneeman 提交于
Fix missing formats in route-set URLs
-
由 Richard Schneeman 提交于
Fix typo in callback deprecation message
-
由 Rafael França 提交于
Add more explicit guidance on how to fix callback deprecations
-
由 Rafael França 提交于
Calling `follow_redirect!` does not reset the `html_document`:
-
由 Rafael França 提交于
Fix regression with date helper in 5.1.2
-