mirror of https://github.com/rails/rails
Capitalize framework names
This commit is contained in:
parent
961fc42f90
commit
c96695dfcf
|
@ -140,7 +140,7 @@ module AbstractController
|
||||||
|
|
||||||
abstract!
|
abstract!
|
||||||
|
|
||||||
# Calls the action going through the entire action dispatch stack.
|
# Calls the action going through the entire Action Dispatch stack.
|
||||||
#
|
#
|
||||||
# The actual method that is called is determined by calling
|
# The actual method that is called is determined by calling
|
||||||
# #method_for_action. If no method can handle the action, then an
|
# #method_for_action. If no method can handle the action, then an
|
||||||
|
|
|
@ -723,7 +723,7 @@ Please refer to the [Changelog][active-storage] for detailed changes.
|
||||||
|
|
||||||
* `preprocessed` option is added when declaring variants to preprocess variants.
|
* `preprocessed` option is added when declaring variants to preprocess variants.
|
||||||
|
|
||||||
* Add the ability to destroy active storage variants.
|
* Add the ability to destroy Active Storage variants.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
User.first.avatar.variant(resize_to_limit: [100, 100]).destroy
|
User.first.avatar.variant(resize_to_limit: [100, 100]).destroy
|
||||||
|
|
|
@ -282,7 +282,7 @@ module ApplicationTests
|
||||||
get "/someone/blog/engine_asset_path"
|
get "/someone/blog/engine_asset_path"
|
||||||
assert_equal "/images/foo.png", last_response.body
|
assert_equal "/images/foo.png", last_response.body
|
||||||
|
|
||||||
# test that the active storage direct upload URL is added to a file field that explicitly requires it within en engine's view code
|
# test that the Active Storage direct upload URL is added to a file field that explicitly requires it within en engine's view code
|
||||||
get "/someone/blog/file_field_with_direct_upload_path"
|
get "/someone/blog/file_field_with_direct_upload_path"
|
||||||
assert_equal "<input type=\"file\" name=\"image\" id=\"image\" data-direct-upload-url=\"http://example.org/rails/active_storage/direct_uploads\" />", last_response.body
|
assert_equal "<input type=\"file\" name=\"image\" id=\"image\" data-direct-upload-url=\"http://example.org/rails/active_storage/direct_uploads\" />", last_response.body
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue