aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Raise ArgumentError if an invalid method is specified as part of a route's ↵Tom Ward2008-07-184-4/+56
| | | | | | conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Set the response content type to that of found template if not explicitly ↵Tom Ward2008-07-186-8/+28
| | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler ↵Joshua Peek2008-07-187-76/+20
| | | | and Compilable stub so plugins will not have to change anything.
* Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵Joshua Peek2008-07-183-4/+4
| | | | memoize class method
* etag! and last_modified! conditional GET helpersJeremy Kemper2008-07-174-61/+150
|
* Introduce simple internationalization supportJeremy Kemper2008-07-171-9/+0
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-07-173-40/+27
|\
| * Wrap AssetTagHelper's computed public path cache in a threadsafe storeJoshua Peek2008-07-173-40/+27
| |
* | Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-1744-156/+517
|\| | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb
| * Fix symbol cookie testPratik Naik2008-07-171-1/+1
| |
| * All 2xx requests are considered successful [#217 state:resolved]Joshua Peek2008-07-162-1/+3
| |
| * Use fully-qualified controller name when logging. [#600 state:resolved]Ripta Pasay2008-07-172-1/+21
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Resolved conflictDavid Heinemeier Hansson2008-07-1699-1625/+2721
| |\
| | * Allow Dispatcher exceptions to be handled in application.rb using rescue_fromPratik Naik2008-07-162-12/+25
| | |
| | * Fixed template recompile logic [#630 state:resolved]Stefan Kaes2008-07-163-22/+73
| | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| | * Merge with docrails.Pratik Naik2008-07-1625-64/+155
| | |
| | * Improve rack/cgi testsPratik Naik2008-07-162-12/+6
| | |
| | * Make RackRequest#request_method respect _methodPratik Naik2008-07-163-4/+66
| | |
| | * Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-155-9/+19
| | | | | | | | | | | | instead
| | * RackResponse should not contain Status headerPratik Naik2008-07-162-4/+14
| | |
| | * Tests for rack response content typePratik Naik2008-07-161-0/+21
| | |
| | * Add tests for CgiRequest#content_typePratik Naik2008-07-161-0/+12
| | |
| | * RackRequest#content_type should return Mime::TypePratik Naik2008-07-162-1/+13
| | |
| | * Improved test coverage for fragment cache helperJoshua Peek2008-07-154-13/+63
| | |
| | * JavaScriptGenerator should only sets output_buffer for the duration of the ↵Jeremy Kemper2008-07-154-12/+22
| | | | | | | | | | | | update block
| * | Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host ↵David Heinemeier Hansson2008-07-162-11/+16
| | | | | | | | | | | | along with the source or per-request proc's won't run [DHH]
* | | moving country helpers from form_options_helper to form_country_helper againSven Fuchs2008-07-164-1620/+791
| | |
* | | fixing another timezone dependent testSven Fuchs2008-07-162-26/+6
| | |
* | | merge forward to current rails/masterSven Fuchs2008-07-16103-2690/+3729
|\ \ \ | | |/ | |/|
| * | Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-1511-260/+198
| | |
| * | Try to get more useful errors out of the test_line_offset failuresMichael Koziarski2008-07-151-10/+10
| | |
| * | Ruby 1.9 compat: only eval with block.binding in 1.9, uses more memory than ↵Jeremy Kemper2008-07-151-6/+12
| | | | | | | | | | | | eval with block
| * | Ruby 1.9 compat: account for different String#hashJeremy Kemper2008-07-151-1/+2
| | |
| * | Ruby 1.9 compat: call Proc#binding explicitly. [#623 state:resolved]松田 明2008-07-151-1/+1
| | |
| * | memorize typoJoshua Peek2008-07-143-10/+10
| | |
| * | Include Memoizable in ActionView::TemplateJoshua Peek2008-07-143-43/+27
| | |
| * | Use sub instead of gsubTarmo Tänav2008-07-141-1/+1
| | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * | Eager load Partial variable_name and counter_name. Tidy up ↵Joshua Peek2008-07-144-45/+49
| | | | | | | | | | | | render_partial_collection.
| * | Move dead recompile_template? alsoJeremy Kemper2008-07-142-17/+2
| | |
| * | Remove dead code from mergeJeremy Kemper2008-07-141-30/+0
| | |
| * | Fix bad mergeJeremy Kemper2008-07-141-2/+2
| | |
| * | Use instance_method(...) to check whether the method existsJeremy Kemper2008-07-141-2/+44
| | |
| * | Restore the more readable before_ and after_filters methods since they ↵Jeremy Kemper2008-07-141-10/+2
| | | | | | | | | | | | aren't called frequently
| * | Ensure :index works with fields_for select methods. [#518 state:resolved]rsl2008-07-142-4/+889
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Check first render format and extension. Fixes failing ActionMailer test.Joshua Peek2008-07-131-1/+1
| | |
| * | Small tweak to e0fef66Joshua Peek2008-07-131-3/+3
| | |
| * | Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-138-23/+25
| | | | | | | | | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
| * | Set config.action_view.warn_cache_misses = true to receive a warning if you ↵Joshua Peek2008-07-124-5/+36
| | | | | | | | | | | | perform an action that results in an expensive disk operation that could be cached
| * | Refactor template preloading. New abstractions include Renderable mixins and ↵Joshua Peek2008-07-1219-465/+354
| | | | | | | | | | | | a refactored Template class.
| * | Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-1215-49/+4
| | |