diff options
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 99 |
1 files changed, 59 insertions, 40 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index a69920252c..e4a08f68c1 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 4.0.0 (unreleased) ## +* Move rails.png into a data-uri. One less file to get generated into a new + application. This is also consistent with the removal of index.html. + + *Steve Klabnik* + * The application rake task `doc:rails` generates now an API like the official one (except for the links to GitHub). @@ -17,10 +22,6 @@ *Gabe Kopley* -* `Rails.version` now returns an instance of `Gem::Version` - - *Charlie Somerville* - * Don't generate a scaffold.css when --no-assets is specified *Kevin Glowacz* @@ -37,39 +38,27 @@ *Sam Ruby* -* Rails now generates a `test/test_helper.rb` file with `fixtures :all` commented out by default, - since we don't want to force loading all fixtures for user when a single test is run. However, - fixtures are still going to be loaded automatically for test suites. - - To force all fixtures to be create in your database, use `rails test -f` to run your test. - - *Prem Sichanugrist* - -* Add `rails test` command for running tests +* Improved `rake test` command for running tests To run all tests: - $ rails test + $ rake test To run a test suite - $ rails test [models,helpers,units,controllers,mailers,...] + $ rake test:[models,helpers,units,controllers,mailers,...] To run a selected test file(s): - $ rails test test/unit/foo_test.rb [test/unit/bar_test.rb ...] + $ rake test test/unit/foo_test.rb [test/unit/bar_test.rb ...] To run a single test from a test file - $ rails test test/unit/foo_test.rb -n test_the_truth - - For more information, see `rails test --help`. - - This command will eventually replace `rake test:*` and `rake test` tasks. + $ rake test test/unit/foo_test.rb TESTOPTS='-n test_the_truth' - *Prem Sichanugrist and Chris Toomey* +* Improve service pages with new layout (404, etc). -* Improve service pages with new layout (404, etc). *Stanislav Sobolev* + *Stanislav Sobolev* ## Rails 4.0.0.beta1 (February 25, 2013) ## @@ -286,17 +275,25 @@ *Derek Prior & Francesco Rodriguez* -* Fixed support for DATABASE_URL environment variable for rake db tasks. *Grace Liu* +* Fixed support for `DATABASE_URL` environment variable for rake db tasks. -* rails dbconsole now can use SSL for MySQL. The database.yml options sslca, sslcert, sslcapath, sslcipher, - and sslkey now affect rails dbconsole. *Jim Kingdon and Lars Petrus* + *Grace Liu* + +* `rails dbconsole` now can use SSL for MySQL. The `database.yml` options sslca, sslcert, sslcapath, sslcipher + and sslkey now affect `rails dbconsole`. + + *Jim Kingdon and Lars Petrus* * Correctly handle SCRIPT_NAME when generating routes to engine in application that's mounted at a sub-uri. With this behavior, you *should not* use - default_url_options[:script_name] to set proper application's mount point by - yourself. *Piotr Sarnacki* + `default_url_options[:script_name]` to set proper application's mount point by + yourself. + + *Piotr Sarnacki* -* `config.threadsafe!` is deprecated in favor of `config.eager_load` which provides a more fine grained control on what is eager loaded *José Valim* +* `config.threadsafe!` is deprecated in favor of `config.eager_load` which provides a more fine grained control on what is eager loaded . + + *José Valim* * The migration generator will now produce AddXXXToYYY/RemoveXXXFromYYY migrations with references statements, for instance @@ -319,21 +316,35 @@ *Aleksey Magusev* -* Set `config.active_record.migration_error` to `:page_load` for development *Richard Schneeman* +* Set `config.active_record.migration_error` to `:page_load` for development. + + *Richard Schneeman* + +* Add runner to `Rails::Railtie` as a hook called just after runner starts. + + *José Valim & kennyj* + +* Add `/rails/info/routes` path, displays same information as `rake routes` . + + *Richard Schneeman & Andrew White* -* Add runner to Rails::Railtie as a hook called just after runner starts. *José Valim & kennyj* +* Improved `rake routes` output for redirects. -* Add `/rails/info/routes` path, displays same information as `rake routes` *Richard Schneeman & Andrew White* + *Łukasz Strzałkowski & Andrew White* -* Improved `rake routes` output for redirects *Łukasz Strzałkowski & Andrew White* +* Load all environments available in `config.paths["config/environments"]`. -* Load all environments available in `config.paths["config/environments"]`. *Piotr Sarnacki* + *Piotr Sarnacki* -* Remove Rack::SSL in favour of ActionDispatch::SSL. *Rafael Mendonça França* +* Remove `Rack::SSL` in favour of `ActionDispatch::SSL`. -* Remove Active Resource from Rails framework. *Prem Sichangrist* + *Rafael Mendonça França* -* Allow to set class that will be used to run as a console, other than IRB, with `Rails.application.config.console=`. It's best to add it to `console` block. *Piotr Sarnacki* +* Remove Active Resource from Rails framework. + + *Prem Sichangrist* + +* Allow to set class that will be used to run as a console, other than IRB, with `Rails.application.config.console=`. It's best to add it to `console` block. Example: @@ -345,12 +356,20 @@ config.console = Pry end + *Piotr Sarnacki* + * Add convenience `hide!` method to Rails generators to hide current generator - namespace from showing when running `rails generate`. *Carlos Antonio da Silva* + namespace from showing when running `rails generate`. -* Rails::Plugin has gone. Instead of adding plugins to vendor/plugins use gems or bundler with path or git dependencies. *Santiago Pastorino* + *Carlos Antonio da Silva* + +* Rails::Plugin has gone. Instead of adding plugins to vendor/plugins use gems or bundler with path or git dependencies. + + *Santiago Pastorino* * Set config.action_mailer.async = true to turn on asynchronous - message delivery *Brian Cardarella* + message delivery. + + *Brian Cardarella* Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/railties/CHANGELOG.md) for previous changes. |