aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2012-01-101-2/+43
|
* Add original_fullpath and original_url methods to RequestPiotr Sarnacki2012-01-101-0/+24
|
* Infer currency negative format from positive one.Tsutomu Kuroda2012-01-051-0/+7
| | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'. Cherry-picked from master (6724c8c8)
* When generating routes, the last defined named route wins. This is inAaron Patterson2012-01-031-15/+23
| | | | | | | | | | contrast to route recognition where the first recognized route wins. This behavior will not exist in Rails 4.0. See: https://github.com/rails/rails/issues/4245 https://github.com/rails/rails/issues/4164
* Revert "Named Routes shouldn't override existing ones (currently route ↵Aaron Patterson2012-01-031-2/+2
| | | | | | recognition goes with the earliest match, named routes use the latest match)" This reverts commit 71d769e3b58cb56b4b1d5143936c65be8b27c490.
* Pass extensions to javascript_path and stylesheet_path helpers. Closes #3417Santiago Pastorino2012-01-031-0/+6
|
* Override respond_to? since we are also overriding method_missing.José Valim2012-01-031-0/+7
|
* Add font_path helper methodSantiago Pastorino2012-01-033-0/+20
|
* deprecate ActiveSupport::Base64Sergey Nartimov2012-01-032-5/+5
| | | | extend and define ::Base64 if needed
* last named route wins. fixes #4164Aaron Patterson2011-12-282-1/+41
| | | | | | This differs from route recognition where first recognized route wins. This will not be supported in Rails 4.0 so that route recognition and generation rules are consistent.
* Provide a class optin for page_cache_compression.José Valim2011-12-241-3/+4
|
* Gzip files on page cachingAndrey A.I. Sitnik2011-12-241-1/+40
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* adding an integration test for splat regexp substitutions. fixes #4138Aaron Patterson2011-12-221-0/+13
|
* Adding an integration test. Fixes #4136Aaron Patterson2011-12-221-0/+9
|
* rack bodies should be a listAaron Patterson2011-12-221-7/+7
|
* refactoring routing testsAaron Patterson2011-12-221-34/+19
|
* raises an ArgumentError if no valid options are given to ↵Lucas Mazza2011-12-211-4/+11
| | | | | | TemplateRenderer#determine_template Signed-off-by: José Valim <jose.valim@gmail.com>
* adding integration test for journey #7Aaron Patterson2011-12-211-0/+22
|
* caches should not be global, so no need to clear in the teardownAaron Patterson2011-12-211-4/+0
|
* Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-0/+18
|
* Merge pull request #4064 from nashby/date-helper-field-error-procJosé Valim2011-12-201-1/+24
|\ | | | | fix adding field_with_errors to date selects, closes #3487
| * add failing tests for issue #3487Vasiliy Ermolovich2011-12-191-1/+24
| |
* | Add a test case for layout nil.José Valim2011-12-201-11/+15
| |
* | remove warnings about @variable_for_layoutlest2011-12-201-5/+6
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | adding tests for #4029Aaron Patterson2011-12-192-1/+52
|/
* Merge pull request #4012 from JustinCampbell/masterJosé Valim2011-12-171-0/+31
|\ | | | | Allow symbols to be passed as extension aliases in Mime::Type.register
| * Add test for register_aliasJustin Campbell2011-12-171-0/+9
| |
| * Add test for type aliasesJustin Campbell2011-12-171-0/+11
| |
| * Allow symbols to be passed for extension aliasesJustin Campbell2011-12-171-0/+11
| |
* | warning removed "warning: instance variable @variable_for_layout not ↵Arun Agrawal2011-12-171-0/+1
|/ | | | initialized"
* Show detailed exceptions no longer returns true if the request is local in ↵José Valim2011-12-162-1/+11
| | | | production.
* Do not raise an exception if an invalid route was generated automatically.José Valim2011-12-161-0/+1
|
* ShowExceptions should understand X-Cascade responses from exceptions app.José Valim2011-12-161-0/+11
|
* Improve the specs on exceptions app.José Valim2011-12-161-1/+14
|
* Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-163-11/+3
|
* Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-162-137/+1
|
* Warning removed "warning: (...) interpreted as grouped expression"Arun Agrawal2011-12-161-1/+1
|
* it's -> itsXavier Noria2011-12-151-1/+1
|
* Fix diagnostics page for routing errors.José Valim2011-12-151-3/+10
|
* fix separator insertion in date_select helperSergey Nartimov2011-12-141-0/+19
|
* Close the response body on cascade pass, closes #3975.José Valim2011-12-141-3/+22
|
* Fix url_for options[:subdomain] to allow objects as valueschoonkeat2011-12-141-0/+8
| | | | * e.g. blog_url(subdomain: current_user) instead of blog_url(subdomain: current_user.to_param)
* Clean up details keys before some tests to expire the cache.José Valim2011-12-142-7/+5
|
* log exception backtrace when all backtrace lines silencedSergey Nartimov2011-12-131-0/+13
|
* Fix failing AP tests.José Valim2011-12-131-1/+1
|
* use Array#join so that file encoding doesn't impact returned string.Aaron Patterson2011-12-121-0/+9
| | | | Fixes #3957
* Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-0/+9
| | | | | | | | 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
* Allow reloader to be configured.José Valim2011-12-121-0/+13
|
* Added :use_two_digit_numbers option [Lennart Fridén & Kim Persson]Lennart Fridén2011-12-111-1/+18
| | | | | | | | | | Added use_two_digit_numbers select_tag option for displaying months and days with leading zeros without affecting the values (useful for e.g. ISO-style dates, 2011-08-01). Signed-off-by: José Valim <jose.valim@gmail.com> Conflicts: actionpack/CHANGELOG.md
* Add button_tag support to ActionView::Helpers::FormBuilder.Will Farrington2011-12-111-1/+3
| | | | | | | | | | This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>