1.9 KiB
-
Rename
--skip-test-unit
option to--skip-test
in app generatorMelanie Gilman
-
Add the
method_source
gem to the default Gemfile for appsSean Griffin
-
Drop old test locations from
rake stats
- test/functional
- test/unit
Ravil Bayramgalin
-
Update
rake stats
to correctly count declarative tests as methods in_test.rb
files.Ravil Bayramgalin
-
Remove deprecated
test:all
andtest:all:db
tasks.Rafael Mendonça França
-
Remove deprecated
Rails::Rack::LogTailer
.Rafael Mendonça França
-
Remove deprecated
RAILS_CACHE
constant.Rafael Mendonça França
-
Remove deprecated
serve_static_assets
configuration.Rafael Mendonça França
-
Use local variables in
_form.html.erb
partial generated by scaffold.Andrew Kozlov
-
Add
config/initializers/callback_terminator.rb
Newly generated Rails apps have a new initializer called
callback_terminator.rb
which sets the value of the configuration optionconfig.active_support.halt_callback_chains_on_return_false
tofalse
.As a result, new Rails apps do not halt callback chains when a callback returns
false
; only when they are explicitly halted withthrow(:abort)
.The terminator is not added when running
rake rails:update
, so returningfalse
will still work on old apps ported to Rails 5, displaying a deprecation warning to prompt users to update their code to the new syntax.claudiob
-
Generated fixtures won't use the id when generated with references attributes.
Pablo Olmos de Aguilera Corradini
-
Add
--skip-action-mailer
option to the app generator.claudiob
-
Autoload any second level directories called
app/*/concerns
.Alex Robbin
Please check 4-2-stable for previous changes.