Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Write documentation for AbstractController::Helpers | Yehuda Katz + Carl Lerche | 2009-06-09 | 4 | -23/+55 |
| | |||||
* | Sanitized the id generated by text_area_tag helper method. ↵ | Stephen Anderson | 2009-06-09 | 2 | -1/+6 |
| | | | | | | text_area_tag('item[description]') should return: <textarea id="item_description" name="item[description]"></textarea> instead of: <textarea id="item[description]" name="item[description]"></textarea> The old id was causing HTML validation failures. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Made label target radio button tags with values. Radio button now respects ↵ | David Stevenson | 2009-06-09 | 2 | -7/+38 |
| | | | | | | inherited :index options when generating id. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Pull autoload fix from 2-3-stable | Michael Koziarski | 2009-06-09 | 1 | -1/+1 |
| | |||||
* | A test to show that http_authentication needs to fail authentication if the ↵ | nate | 2009-06-09 | 2 | -1/+17 |
| | | | | | | password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Uses Hash#symbolize_keys | Jeremy Kemper | 2009-06-08 | 1 | -0/+1 |
| | |||||
* | More documentation work on AbstractController | Yehuda Katz + Carl Lerche | 2009-06-08 | 4 | -25/+80 |
| | | | This is still not completely done and there might be pointers to things that don't exist yet. | ||||
* | Writing comments to AbstractController | Yehuda Katz + Carl Lerche | 2009-06-08 | 8 | -72/+191 |
| | |||||
* | Remove extraneous response_obj | Yehuda Katz + Carl Lerche | 2009-06-08 | 1 | -5/+0 |
| | |||||
* | Explicitly qualify constants in BasicObjects | Jeremy Kemper | 2009-06-08 | 1 | -1/+1 |
| | |||||
* | Remove duplicate | Yehuda Katz + Carl Lerche | 2009-06-08 | 1 | -7/+0 |
| | |||||
* | Use as_json instead of rails_to_json | Jeremy Kemper | 2009-06-08 | 1 | -2/+2 |
| | |||||
* | ActionPack components should no longer have undeclared dependencies. | Yehuda Katz + Carl Lerche | 2009-06-08 | 16 | -34/+72 |
| | | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing | ||||
* | YAGNI Method references. Deprecated | Yehuda Katz | 2009-06-02 | 1 | -4/+6 |
| | |||||
* | Add explicit requirement in a few cases it was missing. | Yehuda Katz | 2009-06-02 | 3 | -0/+3 |
| | | | TODO: Come up with the minimal core and remove all of these | ||||
* | Further cleaning up new callbacks | Yehuda Katz | 2009-06-02 | 2 | -4/+4 |
| | |||||
* | Simplify callbacks to use less metaprogramming | Yehuda Katz | 2009-06-02 | 2 | -16/+16 |
| | |||||
* | Get all the callback tests to work on new base | Yehuda Katz + Carl Lerche | 2009-06-01 | 2 | -22/+52 |
| | |||||
* | Ensure ERB source begins with the encoding comment | Jeremy Kemper | 2009-06-01 | 5 | -7/+34 |
| | |||||
* | fix for IE incompatibility of :disable_with in submit_tag | Han Kessels | 2009-06-01 | 2 | -4/+5 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Sidestep need for Kernel#silence_warnings | Jeremy Kemper | 2009-05-30 | 1 | -4/+4 |
| | |||||
* | Depend on Hash#slice and Object#try | Jeremy Kemper | 2009-05-30 | 1 | -0/+3 |
| | |||||
* | html-scanner uses Set and class_inheritable_accessor | Jeremy Kemper | 2009-05-30 | 1 | -0/+3 |
| | |||||
* | Depend on Hash#diff extension | Jeremy Kemper | 2009-05-30 | 1 | -0/+2 |
| | |||||
* | Revert "Only save the session if we're actually writing to it [#2703 ↵ | Joshua Peek | 2009-05-30 | 3 | -40/+1 |
| | | | | | | state:resolved]" This reverts commit dd98280e38d640f5724887cf8a715b79f0439d2d. | ||||
* | Make sure tests pass action name to Controller.action() | Pratik Naik | 2009-05-30 | 1 | -1/+1 |
| | |||||
* | AS::Concern redefines "include" to lazy include modules as dependencies | Joshua Peek | 2009-05-29 | 18 | -26/+24 |
| | |||||
* | AS::Concern includes InstanceMethods module if it exists | Joshua Peek | 2009-05-29 | 1 | -6/+1 |
| | |||||
* | Ruby 1.9: ERB template encoding using a magic comment at the top of the file | Jeremy Kemper | 2009-05-28 | 5 | -10/+22 |
| | |||||
* | Ruby 1.9: flushing the output buffer preserves its encoding | Jeremy Kemper | 2009-05-28 | 2 | -3/+21 |
| | |||||
* | Reinstate pending output buffer tests | Jeremy Kemper | 2009-05-28 | 1 | -28/+36 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 27 | -46/+42 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Revert "Revert "Whitespace!"" | Joshua Peek | 2009-05-28 | 23 | -264/+270 |
| | | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941. | ||||
* | Only save the session if we're actually writing to it [#2703 state:resolved] | Johan Sörensen | 2009-05-28 | 3 | -1/+40 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | The FlashHash and friends causes a lot of needless session storing, when we ↵ | Johan Sörensen | 2009-05-28 | 2 | -34/+43 |
| | | | | | | know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Memoize cookies so that updates to cookies are available in the current ↵ | Olly Legg | 2009-05-28 | 2 | -1/+7 |
| | | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix failing ActionCacheFilter tests due to around filter changes. | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -1/+1 |
| | |||||
* | Added a compatibility layer to get legacy filter tests to pass on new base | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -5/+27 |
| | |||||
* | Added hook point in new base #send_action which does the actual action ↵ | Yehuda Katz + Carl Lerche | 2009-05-27 | 2 | -2/+4 |
| | | | | method dispatching | ||||
* | Add the ability to prepend filters to new callbacks | Carl Lerche | 2009-05-27 | 1 | -0/+9 |
| | |||||
* | Make the default 500 Internal Server Error page more friendly. Many people ↵ | Hongli Lai (Phusion) | 2009-05-27 | 1 | -1/+4 |
| | | | | | | don't know they're supposed to look in the log files. [#2716 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add % to RESERVED_PCHAR [#2574 state:resolved] | Eduard Bondarenko | 2009-05-27 | 2 | -1/+6 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | ActionController::Flash::FlashHash.use now returns either the value ↵ | Niels Ganser | 2009-05-27 | 2 | -6/+20 |
| | | | | | | corresponding to the passed key or itself when no key is passed [#1792 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Reduce the cost of using ActionController::Http significantly by: | Yehuda Katz | 2009-05-27 | 11 | -28/+88 |
| | | | | | | | | | | * Removing the dependency on AD::Request and AD::Response * Moving the logic for the request and response object into a new module that is included by default. * Changing Renderer and Redirector to use self.headers, self.content_type, and self.status, which have very basic default implementations on AC::Http. When RackConvenience is included (which it is by default on AC::Base), the full Request/Response logic is used instead of the simple logic. | ||||
* | add a metal to minimal examples for comparison | Jeremy Kemper | 2009-05-27 | 1 | -6/+11 |
| | |||||
* | Get all template tests passing on new base | Carl Lerche | 2009-05-26 | 3 | -4/+6 |
| | |||||
* | Got all the dispatch tests running on new base | Carl Lerche | 2009-05-26 | 4 | -11/+15 |
| | |||||
* | Add controller/integration_test.rb to the new base test runner | Carl Lerche | 2009-05-26 | 1 | -2/+1 |
| | |||||
* | Get controller/test_test.rb to pass on new base | Carl Lerche | 2009-05-26 | 2 | -3/+3 |
| | |||||
* | Add html-scanner to the new base set of autoloads | Carl Lerche | 2009-05-26 | 1 | -0/+2 |
| |