- 23 3月, 2015 1 次提交
-
-
由 Kir Shatrov 提交于
…as discussed #19413
-
- 22 3月, 2015 4 次提交
-
-
由 Carlos Antonio da Silva 提交于
Fix ActiveModel::Errors deprecation messages failing when used on its own
-
由 Carlos Antonio da Silva 提交于
The previous change 92a3c8dc improved this example, but calling .create + #valid? ends up running validations twice, and we don't want to showcase that. Lets use the normal use case of building a new object and calling #save on it, which is what a basic scaffold with Active Record does. [ci skip]
-
由 Arthur Nogueira Neves 提交于
use `Dir.exist?` instead of deprecated `Dir.exists?`
-
由 Arthur Nogueira Neves 提交于
Removed requiring ostruct because its unused
-
- 21 3月, 2015 17 次提交
-
-
由 Kasper Timm Hansen 提交于
[ci skip] Fix typos in test runner's help output
-
由 Prathamesh Sonpatki 提交于
-
由 Prathamesh Sonpatki 提交于
-
由 Radan Skoric 提交于
Deprecation messages in ActiveModel::Errors are using String#squish from ActiveSupport but were not explicitly requiring it, causing failures when used outside rails.
-
由 yuuji.yaginuma 提交于
-
由 Arthur Nogueira Neves 提交于
[ci skip] Check a result of `valid?` instead of `create`
-
由 yui-knk 提交于
-
由 eileencodes 提交于
This reverts commit 044f9ab7.
-
由 Godfrey Chan 提交于
Also edited the copy to be more consistent with `rake routes`. See #19323.
-
由 Rafael Mendonça França 提交于
Fix handling of empty X_FORWARDED_HOST header.
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Replace occurences of alias_method_chain with their Module#prepend counterpart
-
由 Kir Shatrov 提交于
Thanks @fbernier for suggestion! <3 At this moment we can use Module#prepend in all all cases except of Range because of the bug [1] in MRI 2.2 [1] https://bugs.ruby-lang.org/issues/10847
-
由 Rafael Mendonça França 提交于
Strip nils out of default translations. Fixes #19419
-
由 adam 提交于
Previously, an empty X_FORWARDED_HOST header would cause Actiondispatch::Http:URL.raw_host_with_port to return nil, causing Actiondispatch::Http:URL.host to raise a NoMethodError.
-
由 Rafael Mendonça França 提交于
Testing Guide: Change 'girlfriend' to 'partner'
-
由 Sean Collins 提交于
-
- 20 3月, 2015 13 次提交
-
-
由 Jeremy Kemper 提交于
Preserving RACK_ENV behavior. This reverts commit 7bdc7635, reversing changes made to 45786be5.
-
由 Jeremy Kemper 提交于
Preserving RACK_ENV behavior. This reverts commit b19990c8, reversing changes made to ac291b76.
-
由 eileencodes 提交于
ActionDispatch::IntegrationTest HTTP request methods will accept only certain kwargs in the future. This test caused a deprecation warning when running ActionPack tests. Added `params` and `headers` to fix.
-
由 eileencodes 提交于
Removing `#build_original_fullpath` because it is no longer used by the Rails' source code or called in the `#call` method becasue the previous commit now uses `fullpath` from Rack. The method was nodoc'ed so it's safe to remove. NOTE: I did this as a separate commit so if this does cause a problem with engines etc reverting is easy.
-
由 eileencodes 提交于
In Rack, `#fullpath` checks if there is a query string and builds the query correctly: ``` def path script_name + path_info end def fullpath query_string.empty? ? path : "#{path}?#{query_string}" end ``` We can utilize this instead of manually building the fullpath because they are the same result. This also reduces allocations in `#call` because we don't need `build_original_fullpath` to create the paths and query strings. We don't need to build `fullpath` twice.
-
由 Akira Matsuda 提交于
-
由 Rafael Mendonça França 提交于
[Fix Select tag Tests] Test correct use of multiple option for select tag
-
由 Akshay Vishnoi 提交于
-
由 Rafael Mendonça França 提交于
Fix test messages use directly true, false and nil instead of their symbol
-
由 Akshay Vishnoi 提交于
-
由 Sean Griffin 提交于
Fixes #19389.
-
由 Rafael Mendonça França 提交于
Updated MySQL documentation link to MySQL latest version 5.6 everywhere ...
-
由 amitkumarsuroliya 提交于
-
- 19 3月, 2015 5 次提交
-
-
由 Sean Griffin 提交于
Updated MySQL documentation link to latest version MySQL 5.6 [ci skip]
-
由 Sean Griffin 提交于
add foreign_key option to result of references column type [ci skip]
-
由 Arthur Nogueira Neves 提交于
Changelog entry for removal of RACK_ENV fallback
-
由 Damien Mathieu 提交于
[ci skip]
-
由 amitkumarsuroliya 提交于
-