aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
* Provide a cleaner syntax for paths configuration that does not rely on ↵José Valim2010-10-064-20/+19
| | | | method_missing.
* Move ETag and ConditionalGet logic from AD::Response to the middleware stack.José Valim2010-10-031-21/+43
|
* reload_routes! is part of the public API and should not be removed.José Valim2010-10-021-1/+8
|
* Fix a routing test. Reorganize middleware tests.José Valim2010-10-026-151/+153
|
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-262-3/+3
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Fix typo and add sanity test for code statistics rake task.Emilio Tagua2010-09-241-1/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* third parameter for rack must respond to eachAaron Patterson2010-09-221-2/+2
|
* Send 'rails runner' help message to stdout instead of stderr.rohit2010-09-191-2/+1
| | | | | | [#5661 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix output of 'rails runner --help' [#4249 state:open]rohit2010-09-181-0/+5
|
* Add RouteSet#appendCarl Lerche2010-09-171-0/+28
| | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn.
* Only add Rack::Cache to the middleware stack if ↵Sparky2010-09-152-5/+46
| | | | config.action_controller.perform_caching is set.
* Add tests for Rack::CacheCarlhuda2010-09-131-0/+148
|
* First pass at Rack::Cachewycats2010-09-131-4/+5
|
* Fix routing testPiotr Sarnacki2010-09-111-4/+2
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* revises implementation and documentation of csrf_meta_tags, and aliases ↵Xavier Noria2010-09-111-1/+1
| | | | csrf_meta_tag to it for backwards compatibilty
* Merge remote branch 'drogus/engines'wycats2010-09-112-2/+2
|\
| * Fix warning by removing |map| from routes.drawPiotr Sarnacki2010-09-081-1/+1
| |
| * Change app to main_app in mounted_helpersPiotr Sarnacki2010-09-081-1/+1
| |
* | Add configuration option for tld lengthSimon Jefford2010-09-091-0/+7
|/
* Removed deprecated router API from railtiesPiotr Sarnacki2010-09-053-11/+11
|
* mounted helpers should be included in ActionMailerPiotr Sarnacki2010-09-031-0/+1
|
* Added ability to set asset_path for enginesPiotr Sarnacki2010-09-031-0/+15
|
* Ensure that Rails.application.initialize! is called only oncePiotr Sarnacki2010-09-031-0/+5
|
* Move singleton pattern to Railtie and remove Engine::Configurable and ↵Piotr Sarnacki2010-09-031-7/+6
| | | | Application::Configurable in favor of unified Railtie::Configurable
* Removed most of deprecated stuff from Application and EnginePiotr Sarnacki2010-09-031-16/+0
|
* Allow Engines loading its own environment file from config/environmentsPiotr Sarnacki2010-09-031-0/+17
|
* Remove deprecated dispatch test.José Valim2010-09-021-7/+0
|
* Ensure routes are loaded only after the initialization process finishes, ↵José Valim2010-09-021-0/+17
| | | | ensuring all configuration options were applied.
* Revert "Just add connection management middleware if running in a concurrent ↵Jeremy Kemper2010-08-202-11/+2
| | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe.
* Make sure apps upgrading from 2.3 get defaulted to UTF-8 (ht: parndt)wycats2010-08-151-5/+15
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-142-4/+4
| | | | 's/[ \t]*$//' -i {} \;)
* Improve best_standards_support to use only IE=Edge in development modewycats2010-08-091-31/+65
|
* Fix middleware testwycats2010-07-271-1/+2
|
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-271-0/+1
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* application generation: --skip-testunit and --skip-activerecord renamed to ↵Xavier Noria2010-07-251-1/+1
| | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there.
* Make config.generators accept string namespaces, you can do now ↵Santiago Pastorino2010-07-211-0/+15
| | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a failing test in Railtie and properly define all severity levels in ↵José Valim2010-07-201-14/+5
| | | | MockLogger for LogSubscriber.
* Add console hook to force ActiveRecord::Base to be loaded when console ↵José Valim2010-07-181-3/+18
| | | | starts avoiding reference loops.
* Just add connection management middleware if running in a concurrent ↵José Valim2010-07-122-2/+11
| | | | environment.
* Add a test to ensure url helpers are not action methods in ActionMailer.José Valim2010-07-071-0/+19
|
* Fix indentJeremy Kemper2010-07-021-1/+1
|
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-013-4/+4
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Create a deprecation behavior that triggers a notification for deprecation ↵wycats2010-06-291-0/+1
| | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification.
* Push a failing test for issues [#4994] and [#5003].José Valim2010-06-291-1/+14
|
* adding missing assertion and fixing the testNeeraj Singh2010-06-241-2/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fixing test by replacing assert with assert_equalNeeraj Singh2010-06-241-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* adding middleware test for RAILS_CACHENeeraj Singh2010-06-241-0/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Array#sample now exists, so test for #forty_two insteadJeremy Kemper2010-06-241-1/+1
|
* Added 4 tests for Rails Runner. 2 failing tests for $0 and $PROGRAM_NAME ↵rohit2010-06-221-0/+49
| | | | | | [#2244 state:open] Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "files in the lib directory are no longer autoloaded"Xavier Noria2010-06-211-3/+1
| | | | | | | This patch is not consistent since it leaves similar directories in load_paths, needs more thought. This reverts commit b5fe014fdcc285f3bcb8779c4f7cfbc5a820856f.