| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Follow up to #24079
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This method will only be added when used with Ruby 2.3.0 or greater.
This method has the same behavior as `Hash#dig`, except it will convert
hashes to `ActionController::Parameters`, similar to `#[]` and `#fetch`.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
AppGenerator: allow both 'rake' and 'rails'
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit comes from the comments made by @matthewd at https://github.com/rails/rails/pull/23795/files#r54469637
and by @rafaelfranca at https://github.com/rails/rails/pull/23795/files#r54609364
The idea is that if you type (for example) "rake db:migrate" in an AppGenerator,
then this should actually invoke `rake db:migrate` on the command line, whereas
if you type "rails_command db:migrate", this should invoke `rails db:migrate`.
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Pass headers through to payload for logging.
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Make request headers available in the event payload so that it is available to attached ActionController::LogSubscribers.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove redundant regexp escapes in generators
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Execute default_scope defined by abstract class within the scope of subclass
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Friendly error message if missing `listen` development dependency
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Advertise the console web-console feature
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
In the latest version of Web Console, you can call `console` anywhere in
your application and get a console with that binding in it. I think this
is worth advertising, as it may be useful to do outside of controllers
and views.
[ci skip]
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Optimize url helper
|
| | |/ / / / / /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
reduce string allocation.
- Use freezed empty string instead of create one every time we need to return it
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix the tests after #24104
|
| | |/ / / / / /
| |/| | | | | | |
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Drop the explicit version requirements for web-console
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Between major versions 2 and 3, we hit a bug. It's fixed in version 3,
however, the explicit 2.x requirement of `~> '2.0'` will prevent people
from getting the fix with `bundle update` and they would have to
explicitly set the constraint to `~> '3.0'`.
For more information see: rails/web-console#178.
I propose we drop the explicit version constraints in the Gemfile. Web
Console has been relatively stable for the past couple of years, and I
don't anticipate any major alterations, like we saw between major
versions 1 and 2.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
Remove extra 'the' and unwanted comma [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove outdated comment [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Currently column options handled by the type map in Rails 4.2.
|
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
related to #19324 and #18606
[skip ci]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
extract ActionDispatch::IntegrationTest::Behavior
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Similar to 176fbfd6, this makes it possible for other test
frameworks to hook into Rails integration test facilities.
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fixes funny spelling in an AR test
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- marked_for_destroyal -> marked_for_destruction
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove incorrect Rack documentation example
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`Sprockets` does not respond to the call method, so I changed the
example to use a fake `MyRackApp`.
Closes #22579.
[ci skip]
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fixed semantics of couple of tests in the configuration_test.rb [ci skip]
|
| | |_|/ / /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
No need to extract a limit for a boolean type
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Prevent not-intended loading of `ActionDispatch::IntegrationTest`
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
After 9d378747326d26cf1afdac4433ead22967af0984 `ActionDispatch::IntegrationTest`
class is loaded and defined in all Rails environments, not only test but also
production. This is not-intended loading of a class which is only used in
test environment.
To prevent not-intended loading, add `ActiveSupport.run_load_hooks` to
`ActionDispatch::IntegrationTest` with `action_dispatch_integration_test` name
and use it in `ActionMailer`.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
clarify that helper_method makes both methods available in the view [ci skip]
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
It's probably obvious to most, but clarify that `:helper_method` will make both
of these methods available to the view.
|
|\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | |
| | | | | | | | |
| | | | | | | | | |
meinac/silence_deprecation_warning_action_view_tests
Silence deprecation message on action_view test cases
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | | |
action_view test cases
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
i18n fallbacks test fixes
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
using map
- Fixed test name for setting fallbacks to config.i18n.fallbacks = [{ :ca => :'es-ES' }]
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Reads much better doesn't it.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Stuff I see in passing while I am doing a walkthrough.
See rationale in 5b8738c.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Stuff I see in passing while I am doing a walkthrough.
See rationale in 5b8738c.
|