aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* removed warning "warning: ambiguous first argument; put parentheses or even ↵Arun Agrawal2011-12-211-1/+1
| | | | spaces"
* Merge pull request #4079 from drogus/http_digest_issueJosé Valim2011-12-212-2/+67
|\ | | | | Fix http digest authentication when url ends with `/` or `?`
| * Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2011-12-211-5/+36
| |
| * Add original_fullpath and original_url methods to RequestPiotr Sarnacki2011-12-211-0/+24
| |
| * Added failing test to demonstrate digest authentication failureJarrod Carlson2011-12-201-0/+10
| |
* | Using uuid which is supported in 1.9Arun Agrawal2011-12-211-1/+1
| | | | | | Orignal commit #ada78066fdbccffb1da092a2470211fa252b3c99
* | 'with_kcode' removed. Arun Agrawal2011-12-214-21/+0
| | | | | | | | Testing Sandbox removed.
* | Remove unused conditions for 1.9Rahul P. Chaudhari2011-12-213-58/+26
| |
* | Ensure option for select helper responds to `#first` before comparison.Brian Rose2011-12-201-0/+18
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Merge pull request #4033 from nashby/date-helper-field-error-procJosé Valim2011-12-201-1/+24
|\ \ | |/ |/| add failing tests for issue #3487
| * add failing tests for issue #3487Vasiliy Ermolovich2011-12-191-1/+24
| |
* | Remove deprecation warnings from Action Pack.José Valim2011-12-202-35/+3
| |
* | Remove deprecated layout lookup.José Valim2011-12-201-12/+3
| |
* | remove warnings about @variable_for_layoutlest2011-12-201-5/+6
| |
* | 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 %>
* only load converter if the encodings are differentAaron Patterson2011-12-091-1/+1
|
* Deprecate implicit layout lookup in favor of inheriting the _layout config.José Valim2011-12-091-2/+2
|
* load the encoding converter to work around [ruby-core:41556] when switching ↵Aaron Patterson2011-12-081-0/+1
| | | | encodings
* Fix another regression related to the layout optimization.José Valim2011-12-081-1/+25
|
* Fix a regression and also fix broken test.José Valim2011-12-081-5/+5
|
* Fix warning for params_wrapper_test.kennyj2011-12-081-1/+1
|
* ParamsWrapper only wrap the accessible attributes when they were setJean-Francois Turcot2011-12-071-1/+28
|
* Merge pull request #3884 from sikachu/master-fix_layoutJosé Valim2011-12-073-2/+66
|\ | | | | Allow layout fallback when using `layout` method
| * Allow layout fallback when using `layout` methodPrem Sichanugrist2011-12-061-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | Rails will now use your default layout (such as "layouts/application") when you specify a layout with `:only` and `:except` condition, and those conditions fail. For example, consider this snippet: class CarsController layout 'single_car', :only => :show end Rails will use 'layouts/single_car' when a request comes in `:show` action, and use 'layouts/application' (or 'layouts/cars', if exists) when a request comes in for any other actions.
| * Fix bug in assert_template when using only `:layout` optionPrem Sichanugrist2011-12-062-1/+17
| | | | | | | | | | | | | | | | | | | | Currently if you're do this: assert_template :layout => "foo" Regardless of what layout you were using, the test will always pass. This was broken since the introduction of :layout option in [d9375f3f]. We have a lot of test cases in actionpack/test/controller/layout_test.rb that use this feature. This will make sure that those test cases are not true negative.