aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #8801 from ktheory/dont_require_turnGuillermo Iguaran2013-01-071-5/+2
|\ \ \ | | | | | | | | Don't require 'turn' from rails/test_help
| * | | Don't require 'turn' from rails/test_helpAaron Suggs2013-01-071-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If 'turn' is in the Gemfile with `:require => nil`, Rails should respect that. This supports the case where 'turn' may or may not be required depending on different developers' preference or environment. E.g., you require turn for local testing, but not on your CI server by putting this in `test/test_helper.rb`: require 'turn' if ENV['TURN']
* | | | Initialize instance variable to remove warningCarlos Antonio da Silva2013-01-071-0/+4
| | | | | | | | | | | | | | | | actions.rb:34: warning: instance variable @in_group not initialized
* | | | Fix readme testsCarlos Antonio da Silva2013-01-071-2/+2
| | | | | | | | | | | | | | | | Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8.
* | | | new README generated for new appsXavier Noria2013-01-082-252/+21
| | | |
* | | | doc/README_FOR_APP is no longer generatedXavier Noria2013-01-085-13/+11
| | | |
* | | | Revert some warning removals related to Ruby 2.0Carlos Antonio da Silva2013-01-071-2/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These warnings were actually a bug in Ruby 2.0, the accessors should not be raising such warnings, they are only meant for ivars. - Revert "fix warnings in Ruby 2.0" This reverts commit 26702a6d3461f4a1c75165030b96886514ecb877. - Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2" This reverts commit f63d6544e45e78cda29c0c56fbdf3d9e1f405340, reversing changes made to 3a890681fad8218305585036abed6d7463a44e41.
* | | Use similar comment styleDavid Heinemeier Hansson2013-01-072-2/+2
| | |
* | | Take the heat :fire:Jeremy Kemper2013-01-061-0/+2
| | |
* | | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-0626-111/+152
| | | | | | | | | | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
* | | Merge pull request #8263 from senny/refactor_plugin_new_generatorYehuda Katz2013-01-065-11/+13
|\ \ \ | | | | | | | | refactor the naming within plugin new generator
| * | | refactor the naming within plugin new generatorYves Senn2012-11-185-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | Having a method called `full?`, which checks on :full and :mountable is very confusing. I renamed `full?` to `engine?` and created a `full?` method that only checks the `:full` option
* | | | Rescue from LoadError when trying to load the debugger gem for consoleCarlos Antonio da Silva2013-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid swallowing all exceptions that might happen when requiring debugger, just catch a LoadError if it cannot be loaded. Check for more background: https://github.com/rails/rails/commit/28fd867c9bc790636d37a28f288791cd0089a6fd#commitcomment-2386952
* | | | Move table routes formatter class to the inspector and rename itCarlos Antonio da Silva2013-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It feels more consistent to have this class called "HtmlTableFormatter", and to have it here with the routes inspector and console formatter, since it's used for both routing error exceptions and the rails info page.
* | | | Merge pull request #8777 from goshakkk/delegate-classAndrew White2013-01-062-2/+2
|\ \ \ \ | | | | | | | | | | Delegate to :class rather than 'self.class'
| * | | | delegate to :class rather than 'self.class'Gosha Arinich2013-01-062-2/+2
| | | | |
* | | | | Improve javascript in welcome page [ci skip]Carlos Antonio da Silva2013-01-061-4/+5
| | | | |
* | | | | This is not that common of a change to warrant top-line billing and you ↵David Heinemeier Hansson2013-01-061-6/+1
| | | | | | | | | | | | | | | | | | | | should read more about the consequences than just toggling a boolean to make best use of it
* | | | | Include the standard reminder that you need to restart for changes in ↵David Heinemeier Hansson2013-01-062-0/+4
| | | | | | | | | | | | | | | | | | | | config/initializers to take effect
* | | | | Update generated app's README [ci skip]Akira Matsuda2013-01-061-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * a controller that destroying Weblogs might be WeblogsController * a controller that indexing Posts might be PostsController * Post.all returns a Relation * modernize Model.inspect results
* | | | | The controller generator invokes assets generator in additionAkira Matsuda2013-01-061-1/+1
| | | | |
* | | | | Fix generated migration file name in model generator USAGEAkira Matsuda2013-01-061-7/+7
|/ / / /
* | | | prefer do-end for multiline blockGosha Arinich2013-01-061-2/+2
| | | |
* | | | Remove the content_tag_for change from CHANGELOG since it was revertedRafael Mendonça França2013-01-051-5/+3
| | | |
* | | | Move config.filter_parameters to you own initializer fileRafael Mendonça França2013-01-053-5/+4
| | | | | | | | | | | | | | | | This is very rarely changed and does not deserve to be in application.rb
* | | | Needless fancy structure that did not anythingDavid Heinemeier Hansson2013-01-051-1/+3
| | | |
* | | | Assert config.filter_parameters should be able to be set in a initializerRafael Mendonça França2013-01-051-0/+10
| | | |
* | | | Fix indention issue in generated templateDavid Heinemeier Hansson2013-01-051-2/+2
| | | |
* | | | Fix indention issue in generated templateDavid Heinemeier Hansson2013-01-051-2/+2
| | | |
* | | | No need to give an example where there is generated code right there to ↵David Heinemeier Hansson2013-01-051-5/+1
| | | | | | | | | | | | | | | | serve as the example
* | | | Make sure assets is disable when --skip-sprockets is usedRafael Mendonça França2013-01-051-1/+2
| | | |
* | | | config.assets.enabled is now true by defaultDavid Heinemeier Hansson2013-01-055-9/+14
| | | |
* | | | allow toggling about env, not just showingGosha Arinich2013-01-051-7/+11
| | | |
* | | | Move style to head to make routes page valid html5Carlos Antonio da Silva2013-01-051-0/+2
| | | |
* | | | Redirect using action hash instead of hardcoding full routeCarlos Antonio da Silva2013-01-051-1/+1
| | | |
* | | | Change Rails Info controller to use the new table routes formatterCarlos Antonio da Silva2013-01-052-5/+2
| | | |
* | | | split formatting concerns from RoutesInspectorYves Senn2013-01-051-2/+2
| | | |
* | | | Merge pull request #8737 from tricknotes/info-page-styleCarlos Antonio da Silva2013-01-052-3/+4
|\ \ \ \ | | | | | | | | | | Fix info page style [ci skip]
| * | | | Don't use layout when requested from xhrRyunosuke SATO2013-01-052-3/+4
| | | | |
* | | | | Merge pull request #8765 from mmb/join_table_usageCarlos Antonio da Silva2013-01-051-0/+13
|\ \ \ \ \ | | | | | | | | | | | | Add join table migration generator to usage help. [ci skip]
| * | | | | Add join table migration generator to usage help.Matthew M. Boedicker2013-01-041-0/+13
| |/ / / /
* | | | | Remove warning "ambiguous first argument"Carlos Antonio da Silva2013-01-051-1/+1
| | | | |
* | | | | Rename the configuration to raise_on_unpermitted_parametersRafael Mendonça França2013-01-051-9/+9
| | | | | | | | | | | | | | | | | | | | Also changed the exception to UnpermittedParameters
* | | | | Ensure that raise_on_unexpected_params configuration will workRafael Mendonça França2013-01-051-0/+48
| | | | |
* | | | | Don't use Rails.root since it is not available at this pointRafael Mendonça França2013-01-052-2/+2
|/ / / /
* | | | Remove unnecessary begin..rescue..end, use only rescueCarlos Antonio da Silva2013-01-041-7/+5
| | | |
* | | | Move class method to instance in dbconsoleCarlos Antonio da Silva2013-01-042-2/+3
| | | | | | | | | | | | | | | | | | | | This method doesn't need to be in the class, since it's only used only from the instance.
* | | | Move changelog entry in railties to the topCarlos Antonio da Silva2013-01-041-8/+7
| | | | | | | | | | | | | | | | Other minor changelog improvements [ci skip]
* | | | Small typo fix in railties/CHANGELOG.mdMatt Bridges2013-01-041-1/+1
| | | |
* | | | Merge pull request #8633 from mykola-kyryk/issue_8628Rafael Mendonça França2013-01-045-2/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Allow environment name to start with a substring of the default environment names. Fixes #8628