aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* redirect_to forwards options to url_for if it is a Hash (the example with ↵Xavier Noria2009-07-171-3/+0
| | | | | | articles_url does not work indeed because of that), understanding :params is a particular case of that This reverts commit 0fc481d7c834ae905ebb2e52f47c3c3656ebd1c9.
* The redirect_to method in ActionController supports the :params option, ↵danielc1922009-07-161-0/+3
| | | | however this is not mentioned in the documentation. This commit adds this. It includes an example and a brief description of the :params option.
* Merge commit 'mainstream/master'Pratik Naik2009-07-0384-3725/+1667
|\ | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_view/template/path.rb activesupport/lib/active_support/json/encoders/hash.rb
| * Allow symbols on routes declaration (:controller and :action values) [#2828 ↵Jesús García Sáez2009-07-021-0/+1
| | | | | | | | | | | | state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * Removed unnecessary calls to image_path and hash lookups [#2827 state:resolved]Yehuda Katz + Carl Lerche2009-07-021-3/+3
| |
| * My suggestion to fix ticket 2401 [#2401 state:resolved]Jarl Friis2009-07-021-4/+6
| | | | | | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * Adds a video_tag helper for the HTML5 video tag (similar to how the ↵Tieg Zaharia2009-07-022-1/+69
| | | | | | | | | | | | image_tag works) (tests included); removes a duplicate test line for image_tag; adds boolean attributes for video tag to tag()'s boolean attributes Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * Patch FormTagHelper so that when a form tag is created, the div which holds ↵Elliot Winkler2009-07-011-2/+2
| | | | | | | | | | | | the form authenticity token is set to display:inline [#2846 state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * Fix pattern to match various magic comment formatsAkira Matsuda2009-07-011-1/+1
| |
| * Accept Symbol for contoller name [#2855 state:resolved]Yehuda Katz + Carl Lerche2009-07-011-1/+1
| | | | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
| * Bump up the version to 3.0.preCarl Lerche2009-06-301-3/+3
| |
| * Make text_area_tag escape contents by default.Chris Mear2009-06-271-0/+5
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2015 state:committed]
| * Make filter_parameters work correctly with array parameters.Vicente Mundim2009-06-271-0/+4
| |
| * Handle missing javascript/stylesheets assets by raising an exceptionChristos Zisopoulos2009-06-261-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | An exception will be raised if a local javascript/stylesheet file included by the stylesheet_link_tag or javascript_include_tag can not be found. When caching is enabled, we use atomic_write to ensure that the cache file is not created with zero length. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2738 state:committed]
| * Try speeding up rails bootingYehuda Katz + Carl Lerche2009-06-252-3/+3
| |
| * send_data should set Content-Length as a stringJoshua Peek2009-06-251-1/+1
| |
| * Remove deprecated implicit ivar assignmentJoshua Peek2009-06-251-26/+0
| |
| * Missed file from the previous commit 92b229e1251d7d3578c3f73e8185972354e76436Pratik Naik2009-06-251-0/+15
| |
| * Make performance tests work againPratik Naik2009-06-251-15/+0
| |
| * Small changes to get 1.9 passing (for the most part)Yehuda Katz2009-06-232-2/+2
| |
| * Fix polymorphic_path doesn't modify options hash [#2099 state:resolved]=?utf-8?q?Mislav=20Marohni=C4=87?=2009-06-211-2/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Add content_for?(:name) helper to check if content_for(:name) is present ↵Darragh Curran2009-06-211-0/+22
| | | | | | | | | | | | [#1311 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Minor ActionView cleanupYehuda Katz + Carl Lerche2009-06-182-8/+5
| |
| * Fix typoYehuda Katz + Carl Lerche2009-06-181-1/+1
| |
| * Use errors[field] instead of errors.on(field)Jeremy Kemper2009-06-171-48/+11
| |
| * Extract the layout proc into a method, and write documentation explaining ↵Yehuda Katz + Carl Lerche2009-06-172-9/+38
| | | | | | | | what the proc does in various cases.
| * Remove one more note about deprecated behaviorYehuda Katz + Carl Lerche2009-06-171-3/+0
| |
| * Drive the final stake through @content_for_*'s heart!Yehuda Katz + Carl Lerche2009-06-175-32/+19
| |
| * Cleaning up more tests and code that needed to work in both old and new baseYehuda Katz + Carl Lerche2009-06-171-0/+1
| |
| * Cleaning up if defined?(ActionController::Http) blocks from the pre new base ↵Yehuda Katz + Carl Lerche2009-06-177-90/+42
| | | | | | | | era.
| * Remove some defined?(Http) checksYehuda Katz + Carl Lerche2009-06-176-55/+13
| |
| * Rename path.rb to resolver.rbYehuda Katz + Carl Lerche2009-06-173-2/+2
| |
| * Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-173-140/+139
| |
| * RJS doesn't render with an HTML layout by defaultYehuda Katz + Carl Lerche2009-06-171-0/+1
| |
| * Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-177-12/+22
| |
| * Move the exceptions for missing template into Compatibility in prep for ↵Yehuda Katz + Carl Lerche2009-06-162-2/+7
| | | | | | | | moving it into a "not-production" module
| * An exception is raised if a layout is missing only if the layout is missing ↵Yehuda Katz + Carl Lerche2009-06-163-3/+5
| | | | | | | | for all mimes
| * Exceptions now in an exceptions moduleYehuda Katz + Carl Lerche2009-06-161-0/+58
| |
| * Remove exceptions from AbstractUnit so they work in real lifeYehuda Katz + Carl Lerche2009-06-161-0/+12
| |
| * Merge process2 into process to people's regular tests run :PYehuda Katz + Carl Lerche2009-06-163-115/+12
| |
| * Whoops, I guess we broke layouts ;)Yehuda Katz + Carl Lerche2009-06-152-6/+6
| |
| * rm -r controller/base!Yehuda Katz + Carl Lerche2009-06-1519-2476/+9
| |
| * Get all of rake tests to passYehuda Katz + Carl Lerche2009-06-151-0/+2
| |
| * Keep ActionMailer using the old layouts code until it gets refactored.Yehuda Katz + Carl Lerche2009-06-152-0/+9
| |
| * Get tests to run (with failures) without old base aroundYehuda Katz + Carl Lerche2009-06-1538-1490/+1490
| |
| * Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-155-51/+20
| |
| * Add :concat option to asset tag helpers to force concatenation.Joshua Peek2009-06-151-6/+18
| | | | | | | | | | This is useful for working around IE's stylesheet limit. stylesheet_link_tag :all, :concat => true
| * moves reopening of core classes to add generic stuff from Action Pack to ↵Xavier Noria2009-06-131-49/+4
| | | | | | | | | | | | | | | | AS/core_ext and adds tests [#2798 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * uses Object#metaclass and Object#class_eval in a few spotsXavier Noria2009-06-121-1/+2
| | | | | | | | | | | | [#2797 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * allow absolute paths for the asset cachesAndrew Kaspick2009-06-111-3/+3
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>