Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add more robust test for wrapping params with anonymous class | David Chelimsky | 2011-05-17 | 1 | -25/+45 |
| | |||||
* | better test name | David Chelimsky | 2011-05-17 | 1 | -1/+1 |
| | |||||
* | add failing test for https://github.com/rails/rails/issues/1089 | David Chelimsky | 2011-05-17 | 1 | -0/+7 |
| | |||||
* | Merge pull request #570 from sikachu/decouple_actionpack | José Valim | 2011-05-15 | 1 | -10/+8 |
|\ | | | | | Make ParamsWrapper use a well-defined API and not rely on AR methods | ||||
| * | Make ParamsWrapper calling newly introduced `Model.attribute_names` instead ↵ | Prem Sichanugrist | 2011-05-15 | 1 | -10/+8 |
| | | | | | | | | of `.column_names` | ||||
* | | Merge pull request #568 from carlosantoniodasilva/fields_for_fixes | José Valim | 2011-05-15 | 1 | -0/+14 |
|\ \ | |/ |/| | Fields for fixes for non nested attributes and without object | ||||
| * | Refactor fields_for to make the api more clear, and fix usage with non ↵ | Carlos Antonio da Silva | 2011-05-14 | 1 | -0/+14 |
| | | | | | | | | nested attributes and without object | ||||
* | | Do not try to call `column_names` on the abstract class. | Prem Sichanugrist | 2011-05-15 | 1 | -1/+14 |
|/ | | | Normally the table for abstract class won't be existed, so we should not trying to call `#column_names` on it. | ||||
* | Reset ActiveRecord::LogSubscriber runtime at the start of each request | Tom Ward | 2011-05-14 | 1 | -0/+13 |
| | | | | Previously the runtime was reset implicitly when #cleanup_view_runtime was called at the end of most requests. However, this doesn't happen when the request redirects, or send_file is called. Consequently, the ActiveRecord runtime recorded in the logs included the time taken for both the current request and the previous redirect. Explicitly resetting at the start of each request ensures that this can't happen, no matter what occurs previously. | ||||
* | Escape regex in controller_runtime_test to actually check that the ↵ | Tom Ward | 2011-05-14 | 1 | -1/+1 |
| | | | | ActiveRecord message appears | ||||
* | Test csrf token param name customization | David Lee | 2011-05-10 | 1 | -7/+18 |
| | |||||
* | Get around weird missing constant error caused by AS instead of simply ↵ | José Valim | 2011-05-11 | 1 | -21/+24 |
| | | | | raising NameError, closes #477. | ||||
* | minor cleaning | Vishnu Atrai | 2011-05-10 | 1 | -1/+1 |
| | |||||
* | Fix previous commit by allowing a proc to be given as response_body. This is ↵ | José Valim | 2011-05-10 | 1 | -5/+4 |
| | | | | deprecated and is going to be removed in future releases. | ||||
* | Merge pull request #446 from danielstutzman/response_body_is_proc | José Valim | 2011-05-10 | 1 | -0/+38 |
|\ | | | | | New test: setting response_body to a Proc should be supported. | ||||
| * | New test: setting response_body to a Proc should be supported. | Daniel Stutzman | 2011-05-07 | 1 | -0/+38 |
| | | |||||
* | | Add tests for content_for() for read, closes #475. | José Valim | 2011-05-10 | 1 | -4/+12 |
| | | |||||
* | | Optimize the most common resolver case. | José Valim | 2011-05-09 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #420 from burke/master | José Valim | 2011-05-08 | 1 | -0/+9 |
|\ \ | | | | | | | Accept single prefix in ActionView::MissingTemplate#initialize | ||||
| * | | Added a test for MissingTemplate change, and changed to use Array.wrap() as | Burke Libbey | 2011-05-06 | 1 | -0/+9 |
| | | | | | | | | | | | | requested by josevalim. | ||||
* | | | Merge pull request #430 from dlee/methodoverride | José Valim | 2011-05-08 | 1 | -0/+7 |
|\ \ \ | | | | | | | | | Logs should show overridden method; Issue 426 | ||||
| * | | | Logs should show overridden method; Issue 426 | David Lee | 2011-05-07 | 1 | -0/+7 |
| |/ / | |||||
* | | | Always expand */* | José Valim | 2011-05-07 | 1 | -1/+1 |
| | | | |||||
* | | | Fixes ticket #6379. Improved the handling of Accept headers containing */*. | mathieuravaux | 2011-05-07 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | `lookup_context#formats=` being too restrictive, "Accept: text/javascript, */*" resulted in [:js, "*/*"] formats instead of [:js, :html]. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | | Merge pull request #343 from asanghi/ampm | José Valim | 2011-05-07 | 1 | -0/+55 |
|\ \ \ | | | | | | | | | Allow AM/PM format in datetime selectors | ||||
| * | | | Allow AM/PM in datetime selectors | Aditya Sanghi | 2011-04-29 | 1 | -0/+55 |
| | | | | |||||
* | | | | Merge pull request #280 from jballanc/frozen-string-strip-tags | José Valim | 2011-05-07 | 1 | -0/+1 |
|\ \ \ \ | |_|/ / |/| | | | Stripping tags from a frozen string | ||||
| * | | | Test for stripping tags from a frozen string. | Joshua Ballanco | 2011-04-14 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | This test will pass under Ruby 1.8 but fail under Ruby 1.9 because of the change in behavior of gsub! w.r.t. frozen strings that do not match the pattern used [ruby-core:23664]. | ||||
* | | | | Revert to old semantics, use available_action? instead of action_method?. | José Valim | 2011-05-06 | 1 | -4/+4 |
| | | | | |||||
* | | | | Don't pluralize, camelize. | José Valim | 2011-05-06 | 1 | -2/+2 |
| | | | | |||||
* | | | | Take leap years into account more seriously when calculating year distance ↵ | Aditya Sanghi | 2011-05-06 | 1 | -0/+4 |
| |_|/ |/| | | | | | | | | [#6074 state:resolved] | ||||
* | | | Fix renew feature on cookies. | José Valim | 2011-05-04 | 1 | -0/+16 |
| | | | |||||
* | | | Fix .subdomain regression. | José Valim | 2011-05-04 | 1 | -0/+9 |
| | | | |||||
* | | | Move prefixes to view paths as they are now a lookup context dependency. | José Valim | 2011-05-04 | 1 | -0/+4 |
| | | | |||||
* | | | fixed test to assert initialization value. | Nick Sutterer | 2011-05-04 | 1 | -1/+1 |
| | | | |||||
* | | | controller's prefixes are now added to LookupContext. | Nick Sutterer | 2011-05-03 | 1 | -0/+4 |
| | | | |||||
* | | | added :prefixes accessor to LookupContext. | Nick Sutterer | 2011-05-03 | 1 | -0/+6 |
| | | | |||||
* | | | Fix typos in test method names | Vijay Dev | 2011-05-03 | 1 | -3/+3 |
| | | | |||||
* | | | Merge pull request #378 from danielvlopes/master. | José Valim | 2011-05-03 | 1 | -2/+8 |
|\ \ \ | | | | | | | | | Select_tag should have the same API of select from form_builder | ||||
| * | | | fix select_tag to have the same behavior of select | Daniel Lopes | 2011-05-03 | 1 | -2/+8 |
| | | | | |||||
* | | | | Merge pull request #377 from joshk/rails_legacy_mapper_message. | José Valim | 2011-05-03 | 1 | -0/+6 |
|\ \ \ \ | |/ / / |/| | | | raise an error if the old router draw method is used | ||||
| * | | | raise an error if the old router draw method is used, along with a message ↵ | Josh Kalderimis | 2011-05-03 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile | ||||
* | | | | Sets the HTTP charset parameter for rescue response. | Matias Korhonen | 2011-05-03 | 1 | -0/+7 |
| | | | | |||||
* | | | | Static middleware accepts cache control. | José Valim | 2011-05-03 | 1 | -1/+7 |
|/ / / | |||||
* | | | Multipart is now fixed in Rack. | José Valim | 2011-05-03 | 1 | -14/+8 |
| | | | |||||
* | | | Fix broken params_wrapper_test on 1.8.7 :bomb: | Prem Sichanugrist | 2011-05-03 | 1 | -36/+80 |
| | | | | | | | | | | | | | | | I have to keep in mind that 1.8.7 does *not* preserve the hash order. Guys, let's move to use 1.9.2 in production! | ||||
* | | | Improve performance for filtered parameters and add tests. | José Valim | 2011-05-03 | 1 | -0/+11 |
| | | | |||||
* | | | Move most processing to load time for performance and improve test suite. | José Valim | 2011-05-03 | 1 | -12/+27 |
| | | | |||||
* | | | removing auto_link and moving it to the rails_autolink gem. :bomb: | Aaron Patterson | 2011-05-02 | 1 | -254/+0 |
| | | | |||||
* | | | Koz asked to test something crazy. | José Valim | 2011-05-02 | 1 | -0/+12 |
| | | |