aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* form_for with +:as+ option uses "action_as" as css class and idVasiliy Ermolovich2011-12-041-11/+11
|
* Fix failing cascade exception.José Valim2011-12-031-0/+9
|
* Merge branch 'exceptions' with the following features:José Valim2011-12-014-90/+144
|\ | | | | | | | | | | | | | | | | * A Railtie API for registering new exceptions and their respective status code (check Active Record railtie for an example) * Extraction of ShowExceptions middleware logging and debugging features into a middleware called DebugExceptions Conflicts: actionpack/CHANGELOG.md
| * Remove unnecessary test setup.José Valim2011-12-011-6/+1
| |
| * Split and improve show and debug exceptions middlewares.José Valim2011-12-012-76/+130
| |
| * Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-013-11/+16
| |
* | Revert "Added ActiveRecord::Base#last_modified to work with the new ↵David Heinemeier Hansson2011-12-011-2/+2
| | | | | | | | | | | | | | | | fresh_when/stale? conditional get methods from Action Pack" Needless indirection with no added value. This reverts commit 535853e83b9092078035a5abb2aa242fba815c05.
* | Added ActiveRecord::Base#last_modified to work with the new ↵David Heinemeier Hansson2011-12-011-2/+2
| | | | | | | | fresh_when/stale? conditional get methods from Action Pack
* | Allow fresh_when/stale? to take a record instead of an options hash [DHH]David Heinemeier Hansson2011-12-011-0/+46
|/
* fix method redefined warnings in testslest2011-11-303-12/+5
|
* fix warning in tests when using render_erb helperlest2011-11-301-0/+2
|
* test helpers in erb using erblest2011-11-306-17/+31
|
* Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time ↵José Valim2011-11-301-1/+12
| | | | a before callback halts.
* Deprecate set_sequence_name in favour of self.sequence_name=Jon Leighton2011-11-291-2/+2
|
* Deprecate set_table_name in favour of self.table_name= or defining your own ↵Jon Leighton2011-11-292-9/+9
| | | | method.
* Handle correctly optional parameters for callable asset_host.Marc-Andre Lafortune2011-11-291-0/+8
|
* put backtrace_cleaner to envlest2011-11-281-0/+7
|
* add namespace options to form_forVasiliy Ermolovich2011-11-271-0/+76
| | | | | You can provide a namespace for your form to ensure uniqueness of id attributes on form elements. The namespace attribute will be prefixed with underscore on the generate HTML id
* fix label with block in erblest2011-11-272-0/+11
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-48/+0
|
* Merge pull request #3747 from lest/middleware-loggerJosé Valim2011-11-254-22/+21
|\ | | | | middlewares should have configurable logger
| * middlewares should use logger from envlest2011-11-254-22/+21
| |
* | Merge branch 'serializers'José Valim2011-11-251-0/+48
|\ \ | |/ |/| | | | | | | | | | | | | This implements the ActiveModel::Serializer object. Includes code, tests, generators and guides. From José and Yehuda with love. Conflicts: railties/CHANGELOG.md
| * Rely solely on active_model_serializer and remove the fancy constant lookup.José Valim2011-11-231-1/+15
| |
| * Merge branch 'master' into serializersJosé Valim2011-11-2322-120/+537
| |\
| * | Initial commit of serializer supportJose and Yehuda2011-10-151-0/+34
| | |
* | | configuration option to always write cookielest2011-11-231-2/+2
| | |
* | | Merge pull request #3733 from kennyj/fix_warnings_for_show_exceptions_testYehuda Katz2011-11-231-3/+3
|\ \ \ | |_|/ |/| | Warnings removed. (ambiguous first argument)
| * | Warnings removed. (ambiguous first argument)kennyj2011-11-241-3/+3
| | |
* | | Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-233-7/+5
| | | | | | | | | | | | methods directly.
* | | Remove unreachable code, and add additional testcases.kennyj2011-11-242-0/+24
|/ /
* | Merge pull request #3718 from lest/fix-javascript-include-tagJosé Valim2011-11-221-0/+3
|\ \ | | | | | | javascript_include_tag should add '.js' to sources that contain '.'
| * | javascript_include_tag should add '.js' to sources that contain '.'lest2011-11-221-0/+3
| | |
* | | move show_detailed_exceptions? to Rescue modulelest2011-11-221-2/+2
| | |
* | | refactor show exceptions testslest2011-11-222-42/+78
| | |
* | | add ActionController::Metal#show_detailed_exceptions?lest2011-11-221-19/+26
|/ /
* | Merge pull request #3695 from tobiassvn/partial_path_errorYehuda Katz2011-11-191-0/+7
|\ \ | | | | | | Meaningful errors for unexpected partial arguments. Fixes #3573
| * | Meaningful errors for unexpected partial arguments. Fixes #3573Tobias Svensson2011-11-191-0/+7
| | |
* | | Don't html-escape the :count option to translate if it's a Numeric. Fixes #3685.Jon Leighton2011-11-191-1/+11
|/ /
* | Refactoring the redirect method for the router api.Aaron Patterson2011-11-181-0/+5
| |
* | remove the :path feature to redirects, since it cannot workAaron Patterson2011-11-181-33/+0
| |
* | require that all blocks have arity of 2Aaron Patterson2011-11-181-1/+1
| |
* | _html translation should escape interpolated argumentslest2011-11-171-0/+6
| |
* | Fix impractical I18n lookup in nested fields_forAlexander Uvarov2011-11-171-0/+46
| |
* | add test for bug fixed in 4f2bf64Andre Arko2011-11-141-0/+5
| |
* | change tests to expect X-F-F over REMOTE_ADDRAndre Arko2011-11-131-2/+2
| |
* | Merge pull request #3592 from avakhov/av-highlight-regexpJosé Valim2011-11-101-0/+4
|\ \ | | | | | | Fix and simplify highlight regexp
| * | Fix and simplify highlight regexpAlexey Vakhov2011-11-101-0/+4
| | |
* | | Merge pull request #3581 from amatsuda/metal_response_body_19José Valim2011-11-101-0/+6
|\ \ \ | |/ / |/| | AC::Metal#response_body= stores different value in Ruby 1.8 and 1.9
| * | A test case to ensure that AC::Metal#response_body= always wraps the given ↵Akira Matsuda2011-11-101-0/+6
| | | | | | | | | | | | value in an Array in both Ruby 1.8 and 1.9 (refs #3581)