- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
-
Quote column names in generates fixture files. This prevents conflicts with reserved YAML keywords such as 'yes' and 'no' Fix #8612. Backport #8616.
Yves Senn
-
Engines with a dummy app include the rake tasks of dependencies in the app namespace. [Backport: #8262] Fix #8229
Yves Senn
-
Add dummy app Rake tasks when --skip-test-unit and --dummy-path is passed to the plugin generator. [Backport #8139] Fix #8121
Yves Senn
-
Update supported ruby versions error message in ruby_version_check.rb Lihan Li
-
ERB scaffold generator use the
:data => { :confirm => "Text" }
syntax instead of:confirm
.Rafael Mendonça França
- Since Rails 3.2, use layout false to render no layout
- Use strict_args_position! if available from Thor
- No changes.
- Add hook for resource route's generator. Santiago Pastorino
- No changes.
- No changes.
-
Documentation fixes.
-
Migration generation understands decimal{1.2} and decimal{1-2}, in addition to decimal{1,2}. José Valim
-
Rails 2.3-style plugins in vendor/plugins are deprecated and will be removed in Rails 4.0. Move them out of vendor/plugins and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. Santiago Pastorino
-
Guides are available as a single .mobi for the Kindle and free Kindle readers apps. Michael Pearson & Xavier Noria
-
Allow scaffold/model/migration generators to accept a "index" and "uniq" modifiers, as in: "tracking_id:integer:uniq" in order to generate (unique) indexes. Some types also accept custom options, for instance, you can specify the precision and scale for decimals as "price:decimal{7,2}". Dmitrii Samoilov
-
Added
config.exceptions_app
to set the exceptions application invoked by the ShowException middleware when an exception happens. Defaults toActionDispatch::PublicExceptions.new(Rails.public_path)
. José Valim -
Speed up development by only reloading classes if dependencies files changed. This can be turned off by setting
config.reload_classes_only_on_change
to false. José Valim -
New applications get a flag
config.active_record.auto_explain_threshold_in_seconds
in the environments configuration files. With a value of 0.5 in development.rb, and commented out in production.rb. No mention in test.rb. fxn -
Add DebugExceptions middleware which contains features extracted from ShowExceptions middleware José Valim
-
Display mounted engine's routes in
rake routes
Piotr Sarnacki -
Allow to change the loading order of railties with
config.railties_order=
Piotr SarnackiExample: config.railties_order = [Blog::Engine, :main_app, :all]
-
Scaffold returns 204 No Content for API requests without content. This makes scaffold work with jQuery out of the box José Valim
-
Update Rails::Rack::Logger middleware to apply any tags set in config.log_tags to the newly ActiveSupport::TaggedLogging Rails.logger. This makes it easy to tag log lines with debug information like subdomain and request id -- both very helpful in debugging multi-user production applications DHH
-
Default options to
rails new
can be set in ~/.railsrc Guillermo Iguaran -
Add destroy alias to Rails engines Guillermo Iguaran
-
Add destroy alias for Rails command line. This allows the following:
rails d model post
Andrey Ognevsky -
Attributes on scaffold and model generators default to string. This allows the following: "rails g scaffold Post title body:text author" José Valim
-
Remove old plugin generator (
rails generate plugin
) in favor ofrails plugin new
command Guillermo Iguaran -
Remove old 'config.paths.app.controller' API in favor of 'config.paths["app/controller"]' API Guillermo Iguaran
Please check 3-1-stable for previous changes.