aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into i18n-mergeJeremy Kemper2008-07-1715-77/+153
|\ | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb activerecord/lib/active_record/validations.rb
| * Resolved conflictDavid Heinemeier Hansson2008-07-1631-928/+826
| |\
| | * Fixed template recompile logic [#630 state:resolved]Stefan Kaes2008-07-161-22/+31
| | | | | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| | * Merge with docrails.Pratik Naik2008-07-1612-30/+85
| | |
| | * Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-153-8/+17
| | | | | | | | | | | | instead
| | * JavaScriptGenerator should only sets output_buffer for the duration of the ↵Jeremy Kemper2008-07-152-10/+12
| | | | | | | | | | | | update block
| * | Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host ↵David Heinemeier Hansson2008-07-161-11/+14
| | | | | | | | | | | | 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-162-81/+14
| | |
* | | fixing another timezone dependent testSven Fuchs2008-07-161-1/+1
| | |
* | | merge forward to current rails/masterSven Fuchs2008-07-1628-993/+866
|\ \ \ | | |/ | |/|
| * | Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-156-215/+190
| | |
| * | 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: 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
| | |
| * | Ensure :index works with fields_for select methods. [#518 state:resolved]rsl2008-07-141-4/+4
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Check first render format and extension. Fixes failing ActionMailer test.Joshua Peek2008-07-131-1/+1
| | |
| * | Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-133-7/+6
| | | | | | | | | | | | _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-122-3/+32
| | | | | | | | | | | | 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-1212-447/+338
| | | | | | | | | | | | a refactored Template class.
| * | Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵Johan Sørensen2008-07-121-1/+1
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-114-6/+6
| | | | | | | | | | | | render(template, local_assigns = {})
| * | WhitespaceMichael Koziarski2008-07-111-2/+1
| | |
| * | Check for response in builder template since ActionMailer does not have oneJoshua Peek2008-07-111-1/+2
| | |
| * | 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-091-1/+1
| | | | | | | | | | | | characters in action name
| * | Pass caller to concat deprecation warningJeremy Kemper2008-07-091-1/+1
| | |
| * | Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵David Heinemeier Hansson2008-07-091-3/+6
| | | | | | | | | | | | 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-091-4/+2
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-081-14/+42
| | | | | | | | | | | | | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * | Disable the Accept header by defaultMichael Koziarski2008-07-071-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format]
| * | Added local assign keys to compiled method name so two threads evaluating ↵Joshua Peek2008-07-063-26/+9
| | | | | | | | | | | | the same template with different locals don't step on top of each other
| * | Synchronize template compilingJoshua Peek2008-07-061-31/+34
| | |
| * | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵Joshua Peek2008-07-055-50/+30
| | | | | | | | | | | | using a "methods_names" hash
| * | Do not stat template files in production mode before rendering. You will no ↵Joshua Peek2008-07-052-29/+16
| | | | | | | | | | | | longer be able to modify templates in production mode without restarting the server
| * | Use the inline template's hash as a method key instead of relying on a counterJoshua Peek2008-07-051-7/+2
| | |
| * | Removed unused template_args variableJoshua Peek2008-07-051-2/+0
| | |
| * | Deprecated TemplateHandler line offsetJoshua Peek2008-07-054-74/+55
| | |
| * | Ensure all complied method names are cleaned up in the error backtraceJoshua Peek2008-07-051-1/+1
| | |
| * | Moved complied method name logic into RenderableJoshua Peek2008-07-054-23/+24
| | |
| * | Renamed Renderer to RenderableJoshua Peek2008-07-053-3/+3
| | |
| * | Revert "Moved TemplateHandlers to Base"Joshua Peek2008-07-034-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb
| * | Allow date helpers to ignore date hidden field tags. [#503 state:resolved]miloops2008-07-041-2/+5
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>