Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Include jbuilder by default and rely on its scaffold generator to show json ↵ | David Heinemeier Hansson | 2013-01-10 | 2 | -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 stack | Yves Senn | 2013-01-10 | 2 | -28/+0 | |
| | | ||||||
* | | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 1 | -12/+0 | |
| | | ||||||
* | | fire a notification when the request stops / starts | Aaron Patterson | 2013-01-09 | 1 | -0/+71 | |
| | | ||||||
* | | Revert "unpermitted params" exception -- it's just not going to work. See ↵ | David Heinemeier Hansson | 2013-01-08 | 1 | -48/+0 | |
| | | | | | | | | the discussion on https://github.com/rails/strong_parameters/pull/75. | |||||
* | | Fix readme tests | Carlos Antonio da Silva | 2013-01-07 | 1 | -2/+2 | |
| | | | | | | | | Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8. | |||||
* | | doc/README_FOR_APP is no longer generated | Xavier Noria | 2013-01-08 | 1 | -1/+0 | |
| | | ||||||
* | | Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵ | Jeremy Kemper | 2013-01-06 | 9 | -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 file | Rafael Mendonça França | 2013-01-05 | 1 | -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 initializer | Rafael Mendonça França | 2013-01-05 | 1 | -0/+10 | |
| | | ||||||
* | | Make sure assets is disable when --skip-sprockets is used | Rafael Mendonça França | 2013-01-05 | 1 | -1/+2 | |
| | | ||||||
* | | config.assets.enabled is now true by default | David Heinemeier Hansson | 2013-01-05 | 1 | -1/+0 | |
| | | ||||||
* | | Remove warning "ambiguous first argument" | Carlos Antonio da Silva | 2013-01-05 | 1 | -1/+1 | |
| | | ||||||
* | | Rename the configuration to raise_on_unpermitted_parameters | Rafael Mendonça França | 2013-01-05 | 1 | -9/+9 | |
| | | | | | | | | Also changed the exception to UnpermittedParameters | |||||
* | | Ensure that raise_on_unexpected_params configuration will work | Rafael Mendonça França | 2013-01-05 | 1 | -0/+48 | |
| | | ||||||
* | | Merge pull request #8633 from mykola-kyryk/issue_8628 | Rafael Mendonça França | 2013-01-04 | 2 | -0/+18 | |
|\ \ | | | | | | | | | | | | | | | | Allow environment name to start with a substring of the default environment names. Fixes #8628 | |||||
| * | | This commit fixes issue #8628 | Mykola Kyryk | 2013-01-04 | 2 | -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 15fb7889c5566ddade1d8f74f49bbbc1c0be6057 | Akira Matsuda | 2013-01-05 | 1 | -1/+1 | |
|/ / | ||||||
* / | Set the default timezone after the initialization since the configuration | Rafael Mendonça França | 2013-01-04 | 1 | -1/+11 | |
|/ | | | | | | now lives in the application initializers. Fix #8711 | |||||
* | Merge pull request #8705 from amparo-luna/change_update_attributes_to_update | Guillermo Iguaran | 2013-01-03 | 2 | -3/+3 | |
|\ | | | | | Rename update_attributes method to update | |||||
| * | Updating default application templates to use update instead of ↵ | Amparo Luna + Guillermo Iguaran | 2013-01-03 | 2 | -3/+3 | |
| | | | | | | | | update_attributes | |||||
* | | test PATCH method for update action in generated scaffold controller test ↵ | Akira Matsuda | 2013-01-03 | 2 | -4/+4 | |
| | | | | | | | | rather than PUT | |||||
* | | Restore original remote_ip algorithm. | Andre Arko | 2013-01-02 | 1 | -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_lambdas | Santiago Pastorino | 2012-12-31 | 2 | -2/+2 | |
|\ | | | | | Fix usage of lambda as a Rack endpoint | |||||
| * | Fix usage of lambda as a Rack endpoint | Jiri Pospisil | 2012-12-31 | 2 | -2/+2 | |
| | | | | | | | | The response body needs to respond_to? :each. | |||||
* | | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 3 | -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::Spec | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 | |
|/ | ||||||
* | Revert "Install binstubs by default" | Jeremy Kemper | 2012-12-28 | 1 | -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 Kemper | 2012-12-28 | 2 | -10/+0 | |
| | | | | | This reverts commit 7173c4f931c9026bd3bc0b644d93dae744433f09. This reverts commit a562f9fa09967eba26dff1c3bc8aa85b6f0a72ff. | |||||
* | Consistent use of single and double quotes | Rafael Mendonça França | 2012-12-26 | 1 | -10/+10 | |
| | ||||||
* | quote column names in generated fixture files | Yves Senn | 2012-12-26 | 1 | -3/+26 | |
| | ||||||
* | Merge pull request #8588 from marcandre/fix_reversible | Carlos Antonio da Silva | 2012-12-23 | 1 | -2/+2 | |
|\ | | | | | Fix Migration#reversible by not using `transaction`. | |||||
| * | Fixes for PR [#8267] | Marc-Andre Lafortune | 2012-12-22 | 1 | -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 binstubs | Yehuda Katz | 2012-12-22 | 1 | -0/+0 | |
| | | ||||||
* | | Add --no-html to scaffold generator | Yehuda Katz | 2012-12-22 | 2 | -0/+17 | |
| | | ||||||
* | | Detect rbenv and update the shebang | Yehuda Katz | 2012-12-22 | 1 | -0/+10 | |
| | | ||||||
* | | Install binstubs by default | Yehuda Katz | 2012-12-22 | 1 | -3/+3 | |
|/ | ||||||
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵ | Jeremy Kemper | 2012-12-21 | 2 | -170/+0 | |
| | | | | with Rails 4.0. | |||||
* | Correctly shows RAILS_ENV=development even when ENV['RAILS_ENV'] is not set ↵ | Andy Lindeman | 2012-12-21 | 1 | -0/+12 | |
| | | | | | | (e.g., in Pow) * Fixes #8025 | |||||
* | Migration generators use `change` even for destructive methods [#8267] | Marc-Andre Lafortune | 2012-12-21 | 1 | -31/+12 | |
| | ||||||
* | Simple replacement of variable name for consistency | Marc-Andre Lafortune | 2012-12-21 | 1 | -32/+32 | |
| | ||||||
* | Revert "Add test to deprecation of Path#children" | Carlos Antonio da Silva | 2012-12-19 | 1 | -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 tests | Francesco Rodriguez | 2012-12-18 | 1 | -0/+2 | |
| | ||||||
* | Revert "Merge pull request #7587 from elia/fix-too-eager-loading" | Rafael Mendonça França | 2012-12-18 | 1 | -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#routes | schneems | 2012-12-17 | 1 | -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 Klabnik | 2012-12-14 | 1 | -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 reloaded | Andrew White | 2012-12-14 | 1 | -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. | |||||
* | Fix failing test in railties | Carlos Antonio da Silva | 2012-12-14 | 1 | -2/+1 | |
| | | | | | Related to the HTML route inspector changes: ae68fc3864e99ab43c18fd12577744e1583f6b64 | |||||
* | Fixed test names for generated_attribute_test.rb | Arun Agrawal | 2012-12-13 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #8468 from schneems/schneems/rack-index-page | Santiago Pastorino | 2012-12-10 | 2 | -8/+36 | |
|\ | | | | | Use Rails to Render Default Index Page |