aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
* Make i18n tests more robust.José Valim2011-06-121-3/+3
|
* make 'rails runner' show usage when run without any optionsVijay Dev2011-06-101-0/+4
|
* Fix double definition of #teardown. Thanks @mike-burns :+1:Jon Leighton2011-06-061-3/+0
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-0625-19/+89
|
* Fix for CI server. Dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
|
* loading_test.rb with RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
|
* framework_test.rb also dependent on RAILS_ENV=developmentArun Agrawal2011-06-061-0/+6
|
* load_path_test.rb is also dependent on RAILS_ENV=developmentJon Leighton2011-06-051-0/+6
|
* Force RAILS_ENV=development in rackup_test.rb. This fixes a problem on the ↵Jon Leighton2011-06-041-0/+6
| | | | CI server. For some reason the RAILS_ENV on the CI server is production, which means that the ActionDispatch::Static middleware is not used, and so the request in 'config.ru can be racked up' returns a 404 rather than a 200.
* Use load_generators instead.José Valim2011-05-251-4/+2
|
* Removing deprecated config.paths.app.controller APIGuillermo Iguaran2011-05-241-1/+1
|
* Fixed failing tests for generators_testArun Agrawal2011-05-251-2/+2
|
* Everyone receives app as argument for consistency.José Valim2011-05-251-3/+4
|
* Parenthesize arguments when the first one is a Regexp literal.Sebastian Martinez2011-05-233-13/+13
| | | | This fixes 'warning: ambiguous first argument; put parentheses or even spaces'.
* Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵Jon Leighton2011-05-231-2/+2
| | | | and require 'securerandom' from the stdlib when active support is required.
* Move content length to the server, this brings the same behavior as in rack 1.2.José Valim2011-05-231-7/+6
|
* Temporarily ship with ContentLength middleware.José Valim2011-05-201-3/+3
|
* Use Rack::ContentLength.José Valim2011-05-191-5/+6
|
* Ensure Set-Cookie is not set on assets.José Valim2011-05-171-24/+25
|
* Add a test case for issue #476.José Valim2011-05-171-0/+31
|
* Fixes failing test, closes #1098.José Valim2011-05-171-1/+1
|
* Merge pull request #507 from dlee/fix_identity_map_testsJosé Valim2011-05-102-2/+2
|\ | | | | Fix tests to reflect IdentityMap no longer default
| * Fix tests to reflect IdentityMap no longer defaultDavid Lee2011-05-102-2/+2
| | | | | | | | Broke in 0e1dcae1857db4f6721561caff38d8be748d0b40
* | Test csrf token param name customizationDavid Lee2011-05-101-2/+15
|/
* prepend the assets route instead of appending, closes #436José Valim2011-05-082-2/+29
|
* Logs should show overridden method; Issue 426David Lee2011-05-072-2/+42
|
* Add test to verify production rake tasks flush logger on exitJason Rudolph2011-05-061-0/+13
|
* Ensure params wrapper settings are not inherited and calculated each time.José Valim2011-05-061-3/+27
|
* Merge pull request #394 from splattael/fix_rake_routes_shows_custom_assetsJosé Valim2011-05-051-0/+9
|\ | | | | Display custom asset routes in `rake routes`
| * Display custom asset routes in `rake routes`Peter Suschlik2011-05-051-0/+9
| |
* | add tests for performance testJan Xie2011-05-051-0/+25
|/
* Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵José Valim2011-05-041-2/+16
| | | | like Datamapper can also have their own sandboxing in rails console.
* Allow ignore_accept_header through configuration option.José Valim2011-05-021-0/+21
|
* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hashPrem Sichanugrist2011-05-031-0/+10
| | | This will allow us to do a rootless JSON/XML request to server.
* added config.active_record.whitelist_attributes which creates an empty ↵Josh Kalderimis2011-04-241-0/+12
| | | | whitelist of attributes available for mass assignment for all models in your app
* added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵Josh Kalderimis2011-04-051-0/+22
| | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* remove AM delegating register_observer and register_interceptor to Mail and ↵Josh Kalderimis2011-04-041-0/+65
| | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com>
* s/with/when/Xavier Noria2011-03-271-1/+1
|
* Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵Prem Sichanugrist2011-03-271-0/+6
| | | | | | | | if set to true This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
* Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved]Prem Sichanugrist2011-02-252-2/+39
| | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
* Make sure that we set `env["action_dispatch.show_exceptions"]`Prem Sichanugrist2011-02-251-0/+15
| | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
* We really don't care about IM middleware order, the important is that it ↵Emilio Tagua2011-02-181-1/+1
| | | | gets included.
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-152-0/+66
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb
| * fix db:fixtures:load with FIXTURES specified [#6061 state:resolved]John Hawthorn2011-02-061-0/+17
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Additionally trigger i18n configuration setup before any eager loading ↵Saimon Moore2011-02-011-0/+30
| | | | | | | | | | | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Add test cases for model and migration generators which use `change` method.Prem Sichanugrist2011-01-041-0/+19
| |
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-203-4/+54
|\| | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb
| * Small changes on AD::Reloader.José Valim2010-12-201-3/+3
| |
| * Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-4/+4
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>