aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Account for ignored cookie set by turbolinksNick Reed2013-01-141-6/+6
| |
* | Add regression test to #8907Rafael Mendonça França2013-01-141-0/+31
| |
* | More consistent quotes in scaffold generatorPavel Pravosud2013-01-111-1/+1
| |
* | Include jbuilder by default and rely on its scaffold generator to show json ↵David Heinemeier Hansson2013-01-102-24/+1
| | | | | | | | API. The default scaffold will now just create HTML if the user actively opts out of jbuilder
* | remove performance tests from the default stackYves Senn2013-01-102-28/+0
| |
* | extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-101-12/+0
| |
* | fire a notification when the request stops / startsAaron Patterson2013-01-091-0/+71
| |
* | Revert "unpermitted params" exception -- it's just not going to work. See ↵David Heinemeier Hansson2013-01-081-48/+0
| | | | | | | | the discussion on https://github.com/rails/strong_parameters/pull/75.
* | Fix readme testsCarlos Antonio da Silva2013-01-071-2/+2
| | | | | | | | Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8.
* | doc/README_FOR_APP is no longer generatedXavier Noria2013-01-081-1/+0
| |
* | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-069-40/+57
| | | | | | | | 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'
* | Move config.filter_parameters to you own initializer fileRafael Mendonça França2013-01-051-2/+2
| | | | | | | | This is very rarely changed and does not deserve to be in application.rb
* | Assert config.filter_parameters should be able to be set in a initializerRafael Mendonça França2013-01-051-0/+10
| |
* | 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-051-1/+0
| |
* | 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
| |
* | Merge pull request #8633 from mykola-kyryk/issue_8628Rafael Mendonça França2013-01-042-0/+18
|\ \ | | | | | | | | | | | | | | | Allow environment name to start with a substring of the default environment names. Fixes #8628
| * | This commit fixes issue #8628Mykola Kyryk2013-01-042-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057Akira Matsuda2013-01-051-1/+1
|/ /
* / Set the default timezone after the initialization since the configurationRafael Mendonça França2013-01-041-1/+11
|/ | | | | | now lives in the application initializers. Fix #8711
* 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-032-4/+4
| | | | | | | | rather than PUT
* | Restore original remote_ip algorithm.Andre Arko2013-01-021-1/+1
|/ | | | | | | | | | | Proxy servers add X-Forwarded-For headers, resulting in a list of IPs. We remove trusted IP values, and then take the last given value, assuming that it is the most likely to be the correct, unfaked value. See [1] for a very thorough discussion of why that is the best option we have at the moment. [1]: http://blog.gingerlime.com/2012/rails-ip-spoofing-vulnerabilities-and-protection/ Fixes #7979
* Merge pull request #8666 from mekishizufu/fix_lambdasSantiago Pastorino2012-12-312-2/+2
|\ | | | | Fix usage of lambda as a Rack endpoint
| * Fix usage of lambda as a Rack endpointJiri Pospisil2012-12-312-2/+2
| | | | | | | | The response body needs to respond_to? :each.
* | Add active_support/testing/autorunRafael Mendonça França2012-12-313-3/+4
| | | | | | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails
* | Inherit from MiniTest::Unit::TestCase instead of MiniTest::SpecRafael Mendonça França2012-12-311-1/+1
|/
* Revert "Install binstubs by default"Jeremy Kemper2012-12-281-3/+3
| | | | | | 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-282-10/+0
| | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff.
* Consistent use of single and double quotesRafael Mendonça França2012-12-261-10/+10
|
* quote column names in generated fixture filesYves Senn2012-12-261-3/+26
|
* Merge pull request #8588 from marcandre/fix_reversibleCarlos Antonio da Silva2012-12-231-2/+2
|\ | | | | Fix Migration#reversible by not using `transaction`.
| * Fixes for PR [#8267]Marc-Andre Lafortune2012-12-221-2/+2
| | | | | | | | | | | | | | | | * Fix Migration#reversible by not using `transaction`. * Adapt mysql adapter to updated api for remove_column * Update test after aedcd683684d08eaf30623a4b48ce31a31426372
* | Forgot to check in railties fixture for binstubsYehuda Katz2012-12-221-0/+0
| |
* | Add --no-html to scaffold generatorYehuda Katz2012-12-222-0/+17
| |
* | Detect rbenv and update the shebangYehuda Katz2012-12-221-0/+10
| |
* | Install binstubs by defaultYehuda Katz2012-12-221-3/+3
|/
* Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵Jeremy Kemper2012-12-212-170/+0
| | | | with Rails 4.0.
* Correctly shows RAILS_ENV=development even when ENV['RAILS_ENV'] is not set ↵Andy Lindeman2012-12-211-0/+12
| | | | | | (e.g., in Pow) * Fixes #8025
* Migration generators use `change` even for destructive methods [#8267]Marc-Andre Lafortune2012-12-211-31/+12
|
* Simple replacement of variable name for consistencyMarc-Andre Lafortune2012-12-211-32/+32
|
* Revert "Add test to deprecation of Path#children"Carlos Antonio da Silva2012-12-191-6/+0
| | | | | | | | | | This reverts commit 29b1dc273e1ad6b9e13bf48fe3f12047850f9554. Conflicts: railties/test/application/paths_test.rb Reason: since 7f96e4317e1354852e9600becb16662de3c17691 was reverted, Path#children is no longer deprecated.
* update concerned testsFrancesco Rodriguez2012-12-181-0/+2
|
* Revert "Merge pull request #7587 from elia/fix-too-eager-loading"Rafael Mendonça França2012-12-181-3/+0
| | | | | | | | | | 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
* HTML formatting to Rails::InfoController#routesschneems2012-12-171-1/+1
| | | | | | | | | | 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
* Revert "Fix failing test in railties"Steve Klabnik2012-12-141-1/+2
| | | | | | This reverts commit 6bdc04624dcc0f45aab93af42d00224f67da36d5. This has been reverted because https://github.com/rails/rails/commit/8554537e48d6ed18ef08cb3ac0a9da96ac3c5cd6
* Clear url helper methods when routes are reloadedAndrew White2012-12-141-0/+71
| | | | | Remove all the old url helper methods when clear! is called on the route set because it's possible that some routes have been removed.