aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |/
* / 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.
* Merge pull request #8633 from mykola-kyryk/issue_8628Rafael Mendonça França2013-01-042-2/+19
|\ | | | | | | | | | | Allow environment name to start with a substring of the default environment names. Fixes #8628
| * This commit fixes issue #8628Mykola Kyryk2013-01-042-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | Allow environment name to start with a substring of the default environment names. For example: tes, pro, prod, dev, devel, etc. Fixing identation. Adding test for Rails::Console.parse_arguments method. Fix issue 8628 for Rails::DBConsole.
* | misleading error message that prompts non-existing commandAkira Matsuda2013-01-051-1/+1
| | | | | | | | [ci skip]
* | get rid of unused .empty_directory files in the app generatorAkira Matsuda2013-01-057-0/+0
| |
* | removed dangling whitespace in generated database ymlAditya Sanghi2013-01-042-4/+4
|/
* Remove the fallback onto `ActiveXObject("Microsoft.XMLHTTP")`.Franck Verrot2013-01-041-6/+2
|
* Merge pull request #8738 from amatsuda/frozen_railsGuillermo Iguaran2013-01-031-2/+2
|\ | | | | another tiny update on generated README
| * No such feature in Rails anymore. That's Bundler's businessAkira Matsuda2013-01-041-2/+2
| | | | | | | | [ci skip]
* | Apply `var` keyword to js at welcome#indexRyunosuke SATO2013-01-041-1/+2
|/
* no, call <%= yield %>Akira Matsuda2013-01-041-1/+1
|
* Merge pull request #8731 from amatsuda/readme_dir_treeGuillermo Iguaran2013-01-031-11/+15
|\ | | | | update directory tree in the generated README
| * update directory tree in the generated READMEAkira Matsuda2013-01-041-11/+15
| |
* | Merge pull request #8705 from amparo-luna/change_update_attributes_to_updateGuillermo Iguaran2013-01-032-3/+3
|\ \ | |/ |/| Rename update_attributes method to update
| * Updating default application templates to use update instead of ↵Amparo Luna + Guillermo Iguaran2013-01-032-3/+3
| | | | | | | | update_attributes
* | test PATCH method for update action in generated scaffold controller test ↵Akira Matsuda2013-01-031-1/+1
| | | | | | | | rather than PUT
* | replace #flatten with Array()Gosha Arinich2013-01-021-2/+2
|/
* fix alignment in rails info properties page [ci skip]Vijay Dev2013-01-011-0/+2
|
* Add -B alias for --skip-bundleJiri Pospisil2013-01-011-1/+1
|
* Add active_support/testing/autorunRafael Mendonça França2012-12-312-2/+2
| | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails
* Improve secret_token deprecation messageSantiago Pastorino2012-12-301-3/+4
|
* Revert "Install binstubs by default"Jeremy Kemper2012-12-281-1/+1
| | | | | | This reverts commit f34c27a452418d8aa17f92bb0fd7ae97b5f7e252. We'll be taking a different tack on this with new `bundle binstubs <gem>` support.
* Revert "Detect rbenv and update the shebang"Jeremy Kemper2012-12-281-8/+1
| | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff.
* Consistent punctuation for @jaroslawr :bowtie:Jeremy Kemper2012-12-271-1/+1
|
* Merge pull request #8616 from senny/8612_respect_yaml_keywordsRafael Mendonça França2012-12-262-4/+16
|\ | | | | quote column names in generated fixture files
| * quote column names in generated fixture filesYves Senn2012-12-262-4/+16
| |
* | Revert "Ignore /bin on new apps" -- given the move to default binstubs, we ↵David Heinemeier Hansson2012-12-261-4/+3
|/ | | | | | want you to check those in! This reverts commit 35c554f0bf518e1068e79002a462c3deba649e9b.
* Explicit options should have precedence over railsrc on the `rails new`Rafael Mendonça França2012-12-241-2/+1
| | | | | | command Closes #8545
* remove duplication from Rails::Application docsHrvoje Šimić2012-12-241-2/+0
|
* Fix spacing regression in scaffold generatorYehuda Katz2012-12-221-1/+3
|
* Fix syntax error in controller templateGuillermo Iguaran2012-12-221-4/+12
|
* Ignore /bin on new appsJosé Valim2012-12-221-3/+4
|
* Add --no-html to scaffold generatorYehuda Katz2012-12-223-8/+37
|
* Detect rbenv and update the shebangYehuda Katz2012-12-221-1/+8
|
* Install binstubs by defaultYehuda Katz2012-12-221-1/+1
|
* Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵Jeremy Kemper2012-12-215-28/+2
| | | | with Rails 4.0.
* Integrate Journey into Action DispatchAndrew White2012-12-191-2/+0
| | | | | | | | Move the Journey code underneath the ActionDispatch namespace so that we don't pollute the global namespace with names that may be used for models. Fixes rails/journey#49.
* Revert "Merge pull request #7587 from elia/fix-too-eager-loading"Rafael Mendonça França2012-12-181-12/+6
| | | | | | | | | | This reverts commit 3663057518eb9acf9b1e72f47dcb07038e6b7368. REASON: This caused a regression that add app folder in the eager load path. See #8146 for more information. Conflicts: railties/CHANGELOG.md
* MergeDavid Heinemeier Hansson2012-12-182-3/+6
|\
| * Format routes as html on debug pageschneems2012-12-172-74/+5
| | | | | | | | | | | | | | | | | | When someone gets a routing exception, the routes are rendered (starting in Rails 4.0). This PR brings parity between the html routes in the `rails/info/routes` path and when rendered from an exception. This is the continuation of #8521 which brought html formatted routes. In addition to bringing parity to the two views, we're keeping our views DRY by rendering off of the same partials. In this case Railties depends on partials provided by ActionDispatch. I'm open to alternative implementations. Ideally both views will use the same code so any improvements or updates to it will be reproduced on both. <hr /> ![](http://f.cl.ly/items/3O1D0K1v0j0i343O3T3T/Screen%20Shot%202012-12-17%20at%203.07.20%20PM.png)
| * HTML formatting to Rails::InfoController#routesschneems2012-12-172-3/+75
| | | | | | | | | | | | | | | | | | | | This PR adds formatting and meta-data to the display of the internal routes. Users can now toggle between showing helpers with the `_path` or _`url` suffix. There are multiple ways to achieve this, this method uses partials for formatting and meta-data. The partials can be re-used when rendering `routing_error.erb`, though that will need to be in a separate PR. ![](http://f.cl.ly/items/3A2p3c1T1t2f2X2R2K2S/Screen%20Shot%202012-12-12%20at%202.28.01%20PM.png) ATP Railties