aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Gist URLs are now namespacedAkira Matsuda2013-02-181-3/+3
| | | | see: https://github.com/blog/1406-namespaced-gists
* Added notice message for destroy method in scaffoldRahul P. Chaudhari2013-02-101-0/+1
|
* --no-rc in the railties testsAkira Matsuda2013-02-012-2/+2
| | | | so that the tester's local .railsrc file does not affect the test results
* Remove BestStandardsSupport middlewareGuillermo Iguaran2013-01-292-32/+1
|
* Merge pull request #8303 from jeremywrowe/masterRafael Mendonça França2013-01-251-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 railsJeremy W. Rowe2013-01-161-0/+5
| | | | | | | | | | | | application. EG: `rails new something.awesome.com` Conflicts: railties/CHANGELOG.md
* | Deprecate the `eager_load_paths` configurationAndrew White2013-01-243-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 Silva2013-01-221-11/+1
| | | | | | | | | | | | configuration" This reverts commit 39374aa925a7d670b039c0c0c9aa9f4aef19466b.
* | Merge pull request #8557 from timraymond/add_back_engines_and_deprecateRafael Mendonça França2013-01-221-0/+6
|\ \ | | | | | | | | | | | | | | | | | | Adding Back Rails::Engine::Railties#engines Conflicts: railties/CHANGELOG.md
| * | Adding Back Rails::Engine::Railties#enginesTim Raymond2013-01-031-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 enginePiotr Sarnacki2013-01-211-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 atRafael Mendonça França2013-01-191-0/+48
| | | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/cc1c3c5be061e7572018f734e5239750ab449e3f Now instead of raise, we log by default in development and test
* | | script => binAkira Matsuda2013-01-181-6/+6
| |/ |/|
* | allow :dirs option for .enumerateBrian D. Burns2013-01-151-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 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