aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3954 from bdurand/null_store_2José Valim2011-12-121-2/+2
|\ | | | | Add ActiveSupport::Cache::NullStore for testing and development
| * Add ActiveSupport::Cache::NullStore to expose caching interface without ↵Brian Durand2011-12-121-2/+2
| | | | | | | | actually caching for development and test environments.
* | Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-122-1/+3
|/ | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
* Default relative_url_root to ENV["RAILS_RELATIVE_URL_ROOT"]. Fixes #3365Piotrek Okoński2011-12-121-0/+9
|
* Ensure that files that compile to js/css are not compiled by default with ↵Piotr Sarnacki2011-12-111-2/+8
| | | | | | | | `rake assets:precompile` This case was not tested and documentation was a bit confusing on that topic, so it was not obvious if current code works properly or not.
* Fix indentationPiotr Sarnacki2011-12-091-67/+67
|
* Allow to run migrations with given scope, with SCOPE=<scope>Piotr Sarnacki2011-12-091-0/+24
| | | | | | | | | | | Scope in migrations can be defined by adding suffix in filename, like: 01_a_migration.blog.rb. Such migration have blog scope. Scope is automatically added while copying migrations from engine, so if you want to revert all of the migrations from given engine, you can just run db:migrate with SCOPE, like: rake db:migrate SCOPE=blog
* Merge pull request #3908 from kennyj/should_use_default_charsetJosé Valim2011-12-081-2/+3
|\ | | | | Fix a failure in railties on ruby 1.8.x
| * Fix testcase an error on ruby 1.8.x.kennyj2011-12-091-2/+3
| | | | | | | | | | | | In Ruby 1.8.x, config.encoding sets $KCODE. Therefore, the possible values are UTF8, SJIS, or EUC. And, if we set SJIS, we'll has the error. Because some rails sources are written in utf-8 encoding.
* | Merge pull request #3888 from kennyj/should_use_default_charsetJosé Valim2011-12-081-0/+6
|\| | | | | Assign config.encoding to AD::Response.default_charset at the initialization time.
| * Assign config.encoding to AD::Response.default_charset at the initialization ↵kennyj2011-12-071-0/+6
| | | | | | | | time.
* | Moves migrations tests from railties/test/application/rake_test.rb to ↵Kazimierz Kiełkowicz2011-12-072-68/+85
| | | | | | | | railties/test/application/rake/migrations_test.rb
* | Move rake notes test to railties/test/application/rake/notes_test.rbKazimierz Kiełkowicz2011-12-071-0/+45
|/
* Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-012-2/+4
|
* Allow rescue responses to be configured through a railtie.José Valim2011-12-012-21/+30
|
* Leave default_asset_host_protocol unsetJonathan del Strother2011-12-011-0/+22
| | | When default_asset_host_protocol is left as nil, it will use absolute protocols when a request is present, and relative protocols otherwise (eg in asset generation)
* fix exception page when template contains utf-8 and parameters contain utf-8lest2011-11-301-11/+30
|
* `run_test` method conflicts with newer minitest, so change the nameAaron Patterson2011-11-301-5/+5
|
* put backtrace_cleaner to envlest2011-11-281-4/+5
|
* Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-251-0/+1
|\ | | | | middlewares should have configurable logger
| * middlewares should use logger from envlest2011-11-251-0/+1
| |
* | Display mounted engines in `rake routes` by defaultPiotr Sarnacki2011-11-251-4/+0
|/
* Allow to display engine's routes when running `rake routes ENGINES=true`Piotr Sarnacki2011-11-241-0/+30
|
* configuration option to always write cookielest2011-11-231-0/+47
|
* Unused variable removedArun Agrawal2011-11-152-2/+1
|
* Modulize Rails console methods so that other console libraries such as Pry ↵Akira Matsuda2011-11-091-1/+1
| | | | can include these methods
* move Rails console top level methods to IRB contextAkira Matsuda2011-11-041-4/+10
|
* On inpsect routes, show :controller and :action to indicate dynamic.Hendy Tanata2011-10-291-2/+10
|
* Fix railtie configuration test calling PostsController#create which didn't existDenis Odorcic2011-10-271-1/+1
|
* Fix failing tests.José Valim2011-10-261-0/+2
|
* Adding ActionDispatch::RequestId in middleware testArun Agrawal2011-10-201-0/+1
|
* Merge pull request #3265 from arunagw/warning_uri_parserVijay Dev2011-10-101-1/+1
|\ | | | | URI.escape is obsolete : warning removed
| * URI.escape is obsolete : warning removedArun Agrawal2011-10-091-1/+1
| |
* | fix invalid regexkennyj2011-10-101-1/+1
|/
* Test utf8 assets filenames with request instead of manifest lookupGuillermo Iguaran2011-10-081-8/+4
|
* Skip broken asset precompilation test on Macs. Issues with NFD vs NFC ↵Jeremy Kemper2011-10-081-4/+8
| | | | normalization on the asset filename. Major red flag with asset lookups!
* Fix regression when calling helpers inside sprockets.José Valim2011-10-051-2/+2
|
* correct path used in "digested assets are not mistakenly removed" testMark J. Titorenko2011-10-041-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* add failing test: "digested assets are removed from configured path"Mark J. Titorenko2011-10-041-0/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix failing tests and refactor assets.rakeJosé Valim2011-10-041-1/+1
|
* Test demonstrating #3053: If-Modified-Since gets swallowed up by rack-cache.Brendan Ribera2011-10-031-0/+14
|
* add failing test for #3198Mark J. Titorenko2011-10-031-0/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure that enhancements to assets:precompile task are only run onceSam Pohlenz2011-10-031-0/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace calls to capture(:stdout) with quietly in assets testsSam Pohlenz2011-10-031-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Precompile properly refers files referenced with asset_path testSantiago Pastorino2011-10-021-1/+3
|
* capture was commented outSantiago Pastorino2011-10-021-2/+2
|
* Provide initialize_on_precompile which, when set to false, does not ↵José Valim2011-10-021-0/+23
| | | | initialize the app for precompilation. Defaults to true.
* possibly useless use of :: in void context Warning removedArun Agrawal2011-09-301-4/+4
|
* Make the Rack::SSL middleware configurableJustin Leitgeb2011-09-261-0/+8
|
* Merge pull request #3136 from guilleiguaran/clear-digests-on-precompileSantiago Pastorino2011-09-261-0/+18
| | | | Avoid use of existing precompiled assets during rake assets:precompile run