- 12 3月, 2018 6 次提交
-
-
由 Andrew White 提交于
Closes #32219.
-
由 Eileen M. Uchitelle 提交于
Fix note marks
-
由 Yauheni Dakuka 提交于
-
由 Andrew White 提交于
Fix CHANGELOGs [ci skip]
-
由 bogdanvlviv 提交于
- Add missing dots. - Remove reference to itself on GitHub. Usually, we add references to fixed issues only in a changelog. Follow up #32223
-
由 Kasper Timm Hansen 提交于
Draw line of a route name to the end of row console on `rails routes --expanded`
-
- 11 3月, 2018 1 次提交
-
-
由 yuuji.yaginuma 提交于
Since Rails 6 requires Ruby 2.4.1+.
-
- 10 3月, 2018 4 次提交
-
-
由 yuuji.yaginuma 提交于
Currently, `Exiting` is showed during server startup. ``` ./bin/rails s => Booting Puma => Rails 6.0.0.alpha application starting in development => Run `rails server --help` for more startup options Exiting Puma starting in single mode... * Version 3.11.2 (ruby 2.5.0-p0), codename: Love Song ``` This is because processing at server stop is passed as a block, and `Rack::Serve#start` receives a block and executes it during startup processing. https://github.com/rack/rack/blob/50db1ffdf8b98503fb7c6e6648622b5d7d78d58e/lib/rack/server.rb#L258 In order to avoid this, stop processing is passed as argument.
-
由 Rafael França 提交于
update psych gem to 3.2 stable release
-
由 Gaurav Sharma 提交于
-
由 Richard Schneeman 提交于
Change doc for "polymorphic_path" in polymorphic_routes.rb
-
- 09 3月, 2018 8 次提交
-
-
由 Chris Salzberg 提交于
* Remove reference to Globalize::Backend::Static as this class no longer exists. * Remove reference to google group * Remove confusing reference to Globalize3 * Add section on translating stored content
-
由 Ryuta Kamizono 提交于
Fixes a typo and updates active_job_basics.md [ci skip]
-
由 Ryuta Kamizono 提交于
Add `delegate :pick, to: :all`
-
由 Mahmoud 提交于
The method 'polymorphic_path' is not using 'polymorphic_url' with `routing_type: :path` anymore in polymorphic_routes.rb
-
由 Yuji Hanamura 提交于
-
由 Dharam Gollapudi 提交于
Fixes a typo
-
由 Aaron Patterson 提交于
Only apply URI.unescape monkey-patch if detected to be required
-
由 Ashe Connor 提交于
We test the failing case we're trying to patch; only if it throws an Exception do we patch. Currently this will *always* throw, but upstream Ruby has patched this bug: https://git.io/vAxKBSigned-off-by: NAshe Connor <ashe@kivikakk.ee>
-
- 08 3月, 2018 7 次提交
-
-
由 Andrew White 提交于
If the app has the CSP disabled globally allow a controller action to enable the policy for that request.
-
由 Andrew White 提交于
e.g: class LegacyPagesController < ApplicationController content_security_policy false, only: :index end
-
由 yuuji.yaginuma 提交于
We use inline style and script for the view held inside Rails like welcome page and mailer preview. Therefore, if inline is prohibited by CSP, they will not work properly. I think that this is not as expected. For that reason, I have made it possible to use inline style and script regardless of application settings.
-
由 Andrew White 提交于
-
由 Andrew White 提交于
[ci skip]
-
由 Andrew White 提交于
Express `ActionDispatch::Routing::UrlFor#route_for` as public api
-
由 Eileen M. Uchitelle 提交于
URI.unescape "extension" fails with Unicode input
-
- 07 3月, 2018 8 次提交
-
-
由 Ashe Connor 提交于
We have a bunch of documentation in lib/active_support/core_ext/object/json.rb which is currently appearing as documentation for the top-level ActiveSupport module. We hide it from rdoc here. Signed-off-by: NAshe Connor <ashe@kivikakk.ee>
-
由 Ashe Connor 提交于
Previously, URI.enscape could handle Unicode input (without any actual escaped characters), or input with escaped characters (but no actual Unicode characters) - not both. URI.unescape("\xe3\x83\x90") # => "バ" URI.unescape("%E3%83%90") # => "バ" URI.unescape("\xe3\x83\x90%E3%83%90") # => # Encoding::CompatibilityError We need to let `gsub` handle this for us, and then force back to the original encoding of the input. The result String will be mangled if the percent-encoded characters don't conform to the encoding of the String itself, but that goes without saying. Signed-off-by: NAshe Connor <ashe@kivikakk.ee>
-
由 bogdanvlviv 提交于
This method was added by #28462 but marked as private api. Since `route_for` looks good in pair with `ActionDispatch::Routing::Mapper::CustomUrls#direct` let's make it as public api. We use it in https://github.com/rails/rails/blob/e83575ff533690db86c92447a539d76b648e9fed/activestorage/config/routes.rb Closes #31417
-
由 Sean Griffin 提交于
This is an alternate implementation of #31698. That PR makes assumptions that I do not want in the code base. We can fix the performance regression with a much simpler patch.
-
由 Sean Griffin 提交于
This reverts commit a19e91f0.
-
由 Terence Lee 提交于
mutool is licensed under the Affero GPL, which has strict distribution requirements. Poppler is licensed under the more liberal GPL, making it a good alternative for those who can't use mutool.
-
由 George Claghorn 提交于
-
由 Nicholas Shirley 提交于
-
- 06 3月, 2018 6 次提交
-
-
由 George Claghorn 提交于
Since we started clearing the client-side blob's type in e0867b36, we no longer need to set a blank Content-Type header before issuing the direct upload request. Fixes that Safari 9 would combine the blank Content-Type header with the blank blob type to produce a Content-Type header containing a single comma, invalidating the request.
-
由 Andrew White 提交于
Fix dependence on has_one/belongs_to relationships
-
由 Fernando Gorodscy 提交于
When a class has a belongs_to or has_one relationship with dependent: :destroy option enabled, objects of this class should not be deleted if it's dependents cannot be deleted. Example: class Parent has_one :child, dependent: :destroy end class Child belongs_to :parent, inverse_of: :child before_destroy { throw :abort } end c = Child.create p = Parent.create(child: c) p.destroy p.destroyed? # expected: false; actual: true; Fixes #32022
-
由 Yuji Yaginuma 提交于
Follow up of #32151
-
由 Xavier Noria 提交于
-
由 Thomas Walpole 提交于
-