Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8303 from jeremywrowe/master | Rafael Mendonça França | 2013-01-25 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | Fixes improper database name when creating a new rails app with a '.' Conflicts: railties/CHANGELOG.md | ||||
| * | Fixes improper database name when a '.' is included while creating a new rails | Jeremy W. Rowe | 2013-01-16 | 1 | -0/+5 |
| | | | | | | | | | | | | application. EG: `rails new something.awesome.com` Conflicts: railties/CHANGELOG.md | ||||
* | | Deprecate the `eager_load_paths` configuration | Andrew White | 2013-01-24 | 3 | -38/+30 |
| | | | | | | | | | | | | | | | | | | | | Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager load all of the paths in `autoload_paths` so we alias `eager_load_paths` to it. This may have unintended consequences if you have added 'lib' to `autoload_paths` such as loading unneeded code or code intended only for development and/or test environments. If this applies to your application you should thoroughly check what is being eager loaded. | ||||
* | | Revert "Set the default timezone after the initialization since the ↵ | Carlos Antonio da Silva | 2013-01-22 | 1 | -11/+1 |
| | | | | | | | | | | | | configuration" This reverts commit 39374aa925a7d670b039c0c0c9aa9f4aef19466b. | ||||
* | | Merge pull request #8557 from timraymond/add_back_engines_and_deprecate | Rafael Mendonça França | 2013-01-22 | 1 | -0/+6 |
|\ \ | | | | | | | | | | | | | | | | | | | Adding Back Rails::Engine::Railties#engines Conflicts: railties/CHANGELOG.md | ||||
| * | | Adding Back Rails::Engine::Railties#engines | Tim Raymond | 2013-01-03 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | Removing it breaks functionality with gems such as Thinking Sphinx. This restores it with a deprecation warning. Closes #8551 | ||||
* | | | Fix asset_path in mounted engine | Piotr Sarnacki | 2013-01-21 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Historically serving assets from a mountable engine could be achieved by running ActionDispatch::Static as a part of engine middleware stack or to copy assets prefixed with an engine name. After introduction of assets pipeline this is not needed as all of the assets are served or compiled into main application's assets. This commit removes the obsolete line making asset_path always generate paths relative to the root or config.relative_url_root if it's set. (closes #8119) | ||||
* | | | Restore and adapt the implementation reverted at | Rafael Mendonça França | 2013-01-19 | 1 | -0/+48 |
| | | | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/cc1c3c5be061e7572018f734e5239750ab449e3f Now instead of raise, we log by default in development and test | ||||
* | | | script => bin | Akira Matsuda | 2013-01-18 | 1 | -6/+6 |
| |/ |/| | |||||
* | | allow :dirs option for .enumerate | Brian D. Burns | 2013-01-15 | 1 | -0/+39 |
| | | | | | | | | | | | | Allows custom rake tasks to be defined using: SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true | ||||
* | | Account for ignored cookie set by turbolinks | Nick Reed | 2013-01-14 | 1 | -6/+6 |
| | | |||||
* | | Add regression test to #8907 | Rafael Mendonça França | 2013-01-14 | 1 | -0/+31 |
| | | |||||
* | | More consistent quotes in scaffold generator | Pavel Pravosud | 2013-01-11 | 1 | -1/+1 |
| | | |||||
* | | 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 |
|/ |