aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|
* Removed a few implementation specific view path testsJoshua Peek2008-07-121-14/+0
|
* Improve test coverage and create fixtures for ↵Joshua Peek2008-07-126-0/+14
| | | | RenderPartialWithRecordIdentificationTests
* Restore support for partial matches in assert_redirected_toMichael Koziarski2008-07-122-2/+14
| | | | If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection.
* Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵Johan Sørensen2008-07-122-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-117-13/+14
| | | | render(template, local_assigns = {})
* WhitespaceMichael Koziarski2008-07-111-2/+1
|
* Ensure use_accept_header is enabled for test_action_cache_conditional_optionsJoshua Peek2008-07-111-1/+2
|
* Ensure use_accept_header is enabled for test_action_cache_conditional_optionsJoshua Peek2008-07-111-0/+2
|
* Fixed teardown method typo (plus whitespace)Joshua Peek2008-07-111-17/+15
|
* Check for response in builder template since ActionMailer does not have oneJoshua Peek2008-07-111-1/+2
|
* Added notes to Routing documentation and routes.rb regarding defaults routes ↵Clemens Kofler2008-07-101-0/+4
| | | | | | opening the whole application for GET requests Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Move accept header parsing shortcut to Mime::Type.parseJeremy Kemper2008-07-092-41/+43
|
* Don't repeatedly convert only/except optionsJeremy Kemper2008-07-091-3/+28
|
* Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved]Cheah Chu Yeow2008-07-092-10/+18
|
* Request#accepts special-cases a single mime typeJeremy Kemper2008-07-091-4/+10
|
* Fix teardown method name typoJeremy Kemper2008-07-091-1/+1
|
* Put a newline rather than a semicolon at the end of RJS source to avoid ↵Jeremy Kemper2008-07-091-1/+1
| | | | parse errors with embedded heredocs
* Use ActionController::Base.logger to report template compilation errors ↵Jeremy Kemper2008-07-091-4/+4
| | | | since there is no AV::Base.logger
* Rendering default template for missing actions works with non-word ↵Jeremy Kemper2008-07-093-1/+7
| | | | characters in action name
* Pass caller to concat deprecation warningJeremy Kemper2008-07-091-1/+1
|
* Reenable the use of the Accept header to give people a chance to update ↵Michael Koziarski2008-07-092-7/+8
| | | | their applications and provide feedback.
* Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵David Heinemeier Hansson2008-07-093-5/+10
| | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed]
* Ensure url_for(nil) falls back to url_for({}). [#472 state:resolved]Cheah Chu Yeow2008-07-093-6/+14
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-085-14/+89
| | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>