aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Review railties changelog [ci skip]Carlos Antonio da Silva2013-06-261-5/+4
|
* Removing deprecated rake tasks.wangjohn2013-06-241-0/+6
| | | | | The `rake test:recent` and `rake test:uncommitted` tasks were deprecated and are now being removed.
* Use Colspan in th TagsSıtkı Bağdat2013-06-171-0/+4
| | | | | | | | | | Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it? Change repetitive th tags to use colspan attribute Update CHANGELOG.md Update CHANGELOG.md
* registers recent patch in the railties CHANGELOGXavier Noria2013-06-061-0/+4
|
* Fxied some typosPrathamesh Sonpatki2013-05-181-1/+1
|
* Review the CHANGELOG entry [ci skip]Rafael Mendonça França2013-05-041-1/+2
|
* Fixes Scaffold generator with --assets=falseArun Agrawal2013-05-041-0/+4
| | | | | | Scaffold generator with --assets=false option outputs an error See #9525
* Removing Railtie::Configurable from the base Railtie object and makingwangjohn2013-04-291-1/+5
| | | | | Railtie itself abstract. This stops the weird behavior of forcing subclasses of Railtie to include the Configurable module.
* rails/master is now 4.1.0.betaRafael Mendonça França2013-04-291-374/+2
|
* use unified and clean formatting in CHANGELOGS. [ci skip]Yves Senn2013-04-121-1/+1
|
* removing `rails test`, updating docs to show how to use `rake test`Aaron Patterson2013-04-051-19/+5
|
* CHANGELOG entry for rails.png removal.Steve Klabnik2013-04-021-0/+5
|
* :scissors:Rafael Mendonça França2013-04-011-4/+4
| | | | [ci skip]
* Remove CHANGELOG entry for #10002Rafael Mendonça França2013-04-011-4/+0
| | | | [ci skip]
* Merge pull request #9991 from Passionate/patch-1Rafael Mendonça França2013-03-301-18/+50
|\ | | | | improve readability
| * improve readabilityParitosh Piplewar2013-03-291-18/+50
| |
* | registers the new doc:rails behaviour in the changelogXavier Noria2013-03-301-0/+5
|/
* Put coffee-rails in top-level of generated GemfileGabe Kopley2013-03-241-0/+12
| | | | v3 of pull request based on additional feedback from @jeremy
* add changelog entryCharlie Somerville2013-03-241-0/+4
|
* Don't generate a scaffold.css if no-assetsKevin Glowacz2013-03-201-0/+4
|
* Revert "make new rails apps log to STDOUT"Steve Klabnik2013-03-151-4/+0
| | | | | | This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451. Per discussion with @jeremy and @rubys on Campfire.
* make new rails apps log to STDOUTTerence Lee2013-03-151-0/+4
|
* Add support for generate scaffold password:digestSam Ruby2013-03-131-0/+12
| | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture
* Move some railties changelog entries to the top [ci skip]Carlos Antonio da Silva2013-03-131-20/+21
|
* Improve wording for rails test commandDalibor Nasevic2013-03-091-8/+11
|
* Load fixtures only when running suites, or `-f`Prem Sichanugrist2013-03-091-0/+8
| | | | | | * `rails test -f` will run the test suites with all fixtures loaded * New application will now generated without `fixtures :all` line enabled by default.