aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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>
| * | Reduce the number of callsites for new TemplateFilesJoshua Peek2008-07-032-20/+30
| | |
| * | Extracted Template rendering logic into Renderer moduleJoshua Peek2008-07-034-33/+40
| | |
| * | Use render on InlineTemplateJoshua Peek2008-07-031-1/+1
| | |
| * | Don't rely on view instance loggerJoshua Peek2008-07-031-4/+4
| | |
| * | Moved TemplateHandlers to BaseJoshua Peek2008-07-034-4/+8
| | |
| * | Tighten the rescue clause when dealing with invalid instance variable names ↵Michael Koziarski2008-07-031-1/+5
| | | | | | | | | | | | in form_helper.
| * | Move the file exists checks outside write_asset_file_contents.Michael Koziarski2008-07-031-6/+4
| | | | | | | | | | | | This lets us avoid the relatively costly trip through compute_*_paths if the file already exists.
| * | Move template_format logic out to the request so it's alongside the ↵Michael Koziarski2008-07-031-11/+1
| | | | | | | | | | | | | | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts.
| * | Remove unused local_binding option to InstanceTag's ConstructorMichael Koziarski2008-07-033-17/+17
| | |
| * | Remove nested ternary operators from select_year in favour of conditionals.Michael Koziarski2008-07-031-11/+20
| | |
| * | Remove unneeded ObjectWrapper class.Michael Koziarski2008-07-032-10/+2
| | | | | | | | | | | | Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial
| * | Remove old method of including javascripts define_javascript_functions.Michael Koziarski2008-07-031-26/+0
| | | | | | | | | | | | javascript_include_tag and friends do a much better job.
| * | Remove strange alias for JavaScriptHelperMichael Koziarski2008-07-031-2/+0
| | |
| * | Deprecate :use_full_path render option. The supplying the option no longer ↵Joshua Peek2008-07-024-31/+32
| |/ | | | | | | has an effect.
| * Make sure render :collection doesnt set nil local when :as is absentPratik Naik2008-07-021-1/+2
| |
| * Add :as option to render a collection of partials with a custom local ↵Pratik Naik2008-07-023-11/+14
| | | | | | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
| * Ensure proper output when submit_tag is used with :disabled_with. [#388 ↵Scott Stewart2008-07-021-2/+4
| | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Fix indentation and update changelogs for previous commitgbuesing2008-06-291-2/+2
| |
| * Added support for regexp matching of priority zones in time_zone_select ↵Ernie Miller2008-06-291-2/+9
| | | | | | | | [#195 state:resolved]
| * Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] ↵Pratik Naik2008-06-291-3/+3
| | | | | | | | | | | | [Pascal Ehlert] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Allow single quote (the ' character) in the middle of URL when ↵Cheah Chu Yeow2008-06-271-1/+1
| | | | | | | | | | | | auto_link-ing. [#471 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Hide InlineTemplate class from ActionController and use ActionView's render APIJoshua Peek2008-06-251-6/+5
| |
| * Made ActionView::Base#render_file privateJoshua Peek2008-06-251-20/+20
| |
| * Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and ↵Joshua Peek2008-06-251-7/+3
| | | | | | | | test them at a higher level of abstraction in ViewRenderTest.
| * Improve readabilityJeremy Kemper2008-06-241-1/+3
| |
| * link_to_function and button_to_function shouldn't modify their options hashesJeremy Kemper2008-06-231-2/+2
| |
| * Performance: javascript helper tweaks to speed up escaping and reduce object ↵Jeremy Kemper2008-06-213-60/+73
| | | | | | | | allocations when building options strings
| * Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-196-39/+62
| | | | | | | | variable visible in block binding.
| * Move erb_trim_mode setting to the ERB template handler. Keep a ↵Jeremy Kemper2008-06-192-5/+9
| | | | | | | | Base.erb_trim_mode= delegator around.
* | reverting changes to form_options_helper for mergeSven Fuchs2008-07-161-2/+58
| |
* | Removed unnecessary or condition in #error_messages_forLuca Guidi2008-07-081-1/+1
| |
* | Added localize helper methodLuca Guidi2008-07-081-0/+4
| |
* | Make sure object name is translated in #error_messages_forLuca Guidi2008-07-081-0/+1
| |
* | align with changes in i18nSven Fuchs2008-07-063-7/+6
| |
* | add a translation helperSven Fuchs2008-07-061-0/+16
| |
* | remove core extensions in favor of I18n#translate and I18n#localizeSven Fuchs2008-07-022-3/+4
| |
* | Fixed Date and Time localization for ActiveSupportLuca Guidi2008-07-021-21/+0
| |