aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
...
* Automatically maintain test database schemaJon Leighton2014-01-021-0/+6
| | | | | | | | | | | | | | * Move check from generated helper to test_help.rb, so that all applications can benefit * Rather than just raising when the test schema has pending migrations, try to load in the schema and only raise if there are pending migrations afterwards * Opt out of the check by setting config.active_record.maintain_test_schema = false * Deprecate db:test:* tasks. The test helper is now fully responsible for maintaining the test schema, so we don't need rake tasks for this. This is also a speed improvement since we're no longer reloading the test database on every call to "rake test".
* Update CHANGELOG [ci skip]José Valim2013-12-231-0/+5
|
* Add a changelog entry for #13326 [ci skip]Robin Dupret2013-12-211-0/+8
|
* `html` and `text` templates for mailers by defaultKassio Borges2013-12-201-0/+4
|
* Make possible to use symbol as the verifier nameRafael Mendonça França2013-12-191-3/+3
|
* Change the message verifier argument to verifier_nameRafael Mendonça França2013-12-191-2/+2
|
* Add changelog entries about secrets.yml and secrets.secret_key_baseGuillermo Iguaran2013-12-171-0/+29
|
* fixed rails dbconsole to support ENV['DATABASE_URL'].Huiming Teo2013-12-161-0/+4
|
* end sentences with a `.`. [ci skip]Yves Senn2013-12-051-2/+2
|
* Make salt argument required for message verifierRafael Mendonça França2013-12-041-2/+2
|
* Fix typosRafael Mendonça França2013-12-041-1/+1
|
* No need to configure saltsRafael Mendonça França2013-12-041-5/+2
|
* Make possibile to get different message verifiersRafael Mendonça França2013-12-041-1/+9
|
* Rename verifier to message_verifierRafael Mendonça França2013-12-041-3/+3
|
* Add documentation and CHANGELOG entry to Application#verifierRafael Mendonça França2013-12-041-0/+12
|
* Install Spring preloader when generating new applicationsJon Leighton2013-12-031-0/+7
|
* Use .railsrc while creating new plugin if availablePrathamesh Sonpatki2013-12-011-0/+5
| | | | - Fixes #10700
* Improve changelogsCarlos Antonio da Silva2013-11-221-1/+2
| | | | | Also make Action Mailer changelog format more consistent with the others [ci skip]
* Remove turbolinks when generating a new application based on a templateLauro Caetano2013-11-211-0/+8
| | | | | | that skips it. It can be skipped adding `add_gem_entry_filter { |gem| gem.name != "turbolinks" }` to the template.
* Instrument each load config initializerPaul Nikitochkin2013-11-161-0/+30
| | | | | | In order to simplify profiling loading of initializers, added instument for tracking load config initializer event from `config/initializers`
* Allow Pathnames to be added to eager load pathsMike Pack2013-11-111-0/+4
|
* Fix missing line and shadow on static error pages [ci skip]Dmitry Korotkov2013-11-111-0/+4
|
* Fix typo in railties changelogCarlos Antonio da Silva2013-11-041-2/+2
| | | | Also improve the example to show as shell command [ci skip]
* BACKTRACE environment variable to show unfiltered backtraces.Yves Senn2013-11-041-0/+11
| | | | | | | | | | | We used to support the `BACKTRACE` environment variable but when we switched to MiniTest it got removed: f9382cd7948 This commit adds back the functionality to show the unfiltered backtrace when needed. This also works when you run your tests with `rake`: * `BACKTRACE=1 bin/rake test` * `BACKTRACE=1 ruby -Itest ...`
* No web-console for nowArun Agrawal2013-11-031-4/+0
|
* Removal of javascript related gems when creating an appRobin Dupret2013-10-271-0/+5
| | | | | | | | | Commit 0417bc8 add the coffee-rails and javascript runtime gems even when passing the --skip-javascript option but this is not the desired behavior. Also remove all javascript related stuff in the generated application such as the vendor/assets/javascripts folder.
* Make the application name snake cased when it contains spacesRobin Dupret2013-10-221-0/+8
| | | | | | | | | | | | | The application name is used to fill the `database.yml` and `session_store.rb` files ; previously, if the provided name contained whitespaces, it led to unexpected names in these files. Since Shellwords.escape adds backslashes to escape spaces, the app_name should remove them and replace any space with an underscore (just like periods previously). Also improve the assert_file helper to work with paths containing spaces using String#shellescape.
* Fix typo in the changelog entryRafael Mendonça França2013-10-151-1/+1
| | | | [ci skip]
* Added --model-name option scaffold_controller_generator.yalab2013-10-151-0/+4
|
* Expose MiddlewareStack#unshift to environment configuration.Ben Pickles2013-10-091-0/+4
|
* Add a CHANGELOG entry about Web Console inclusionGenadi Samokovarov2013-09-241-0/+4
|
* Only output Server logs in Developmentschneems2013-09-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now when you start a server via `rails s`, the logger gets extended so that it logs to the file system and also to stdout. This extension behavior is not "intelligent" and if the default logger is already set to output to stdout, then the contents will be received twice. To capture logs in accordance with http://www.12factor.net/logs some platforms require the logs to be sent to standard out. If a logger is set to stdout, and the server is started using `rails server` instead of another method (i.e. `thin start` etc.) then the app will produce double logs. This PR fixes the issue by only extending the logger to standard out in the development environment. So that in production you don't get double logs like this: ``` ActionView::Template::Error (wrong number of arguments (5 for 4)): 1: <% lang_index = 0 %> 2: <div class="row"> 3: <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs"> 4: <% repos.group_by(&:language).each do |lang, repos| %> 5: <% unless lang == nil %> 6: <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li> 7: <% end -%> app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880' ActionView::Template::Error (wrong number of arguments (5 for 4)): 1: <% lang_index = 0 %> 2: <div class="row"> 3: <ul class="nav nav-tabs nav-stacked span2" data-tabs="tabs" id="repo-tabs"> 4: <% repos.group_by(&:language).each do |lang, repos| %> 5: <% unless lang == nil %> 6: <li><a href="#<%= "#{lang.parameterize}#{lang.hash}" %>" data-toggle="tab"><%= lang %></a></li> 7: <% end -%> app/views/shared/_repos.html.erb:4:in `_app_views_shared__repos_html_erb___1685450633638247395_70300668607000' app/views/pages/index.html.erb:13:in `_app_views_pages_index_html_erb__2084723628308867770_70300687584880' ``` ATP Railties. Opened against master in favor of #10999
* Don't require using application_name before optionsPiotr Sarnacki2013-09-131-6/+11
| | | | | | | | | | | | Before this commit options for `rails new` and `rails plugin new` had to be passed in a strict order, trying to execute a following command: rails new -J path/to/app resulted in an error. This commit fixes the situation and allows to pass path to app anywhere after `new`
* Adding LESS to rake notesJosh Crowder2013-08-151-0/+4
|
* Generate namespaced routes correctly for generators. Fix for #11532Prathamesh Sonpatki2013-08-141-0/+18
|
* Use the right instrumentation nameRafael Mendonça França2013-08-051-0/+4
| | | | | | | | | The pattern is event.component Closes #11769 Conflicts: railties/CHANGELOG.md
* Add CHANGELOG entry for #11665Rafael Mendonça França2013-08-041-0/+4
| | | | [ci skip]
* Move changelog entry to the top [ci skip]Carlos Antonio da Silva2013-07-291-5/+7
|
* Changed stylesheet load order in the stylesheet manifest generator.Pawel Janiak2013-07-281-0/+4
|
* Added generated unit test for generator generator and new test:generators ↵Josef Šimánek2013-07-161-0/+5
| | | | rake task included in test:all rake task.
* Remove update:application_controller rake task.Josef Šimánek2013-07-131-0/+4
|
* #11381: Ignore config.eager_load=true for rakePaul Nikitochkin2013-07-101-0/+4
| | | | Closes #11381
* handle notes in *.sass filesYuri Artemev2013-07-081-0/+4
|
* Removed deprecated `Rails.application.railties.engines`.Arun Agrawal2013-07-041-0/+4
|
* Added missing CHANGELOG from PR #11279 [ci skip]Arun Agrawal2013-07-031-0/+4
|
* Remove deprecated `ActiveRecord::Generators::ActiveModel#update_attributes` inVipul A M2013-07-031-0/+5
| | | | favor of `ActiveRecord::Generators::ActiveModel#update`
* Remove deprecated `config.whiny_nils`Vipul A M2013-07-021-0/+4
|
* s/plugin_new/pluginschneems2013-06-301-0/+4
| | | | | There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176 ATP Railties
* Fix `rails plugin --help`schneems2013-06-291-0/+4
| | | | | | | | | | | | | | | | Right now if you run the `rails plugin --help` command it fails because rails expects a command in `railties/lib/rails/commands/plugin.rb` that does not exist because the file is named `plugin_new`. This is the error: ``` ruby-2.0.0-p0 ~/documents/projects/tmp/vanilla (master) $ rails plugin --help /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require': cannot load such file -- rails/commands/plugin (LoadError) from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require' from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency' from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require' from /Users/schneems/.rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0/lib/rails/commands.rb:49:in `<top (required)>' from bin/rails:4:in `require' from bin/rails:4:in `<main>' ```
* Omit turbolinks configuration completely on skip_javascript generator optionNikita Fedyashev2013-06-281-0/+4
|