Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵ | Damian Janowski | 2008-07-08 | 1 | -14/+42 |
| | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 5 | -21/+44 |
| | | | | | | | | 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 Peek | 2008-07-06 | 3 | -26/+9 |
| | | | | the same template with different locals don't step on top of each other | ||||
* | Synchronize template compiling | Joshua Peek | 2008-07-06 | 1 | -31/+34 |
| | |||||
* | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵ | Joshua Peek | 2008-07-05 | 5 | -50/+30 |
| | | | | using a "methods_names" hash | ||||
* | Do not stat template files in production mode before rendering. You will no ↵ | Joshua Peek | 2008-07-05 | 2 | -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 counter | Joshua Peek | 2008-07-05 | 1 | -7/+2 |
| | |||||
* | Removed unused template_args variable | Joshua Peek | 2008-07-05 | 1 | -2/+0 |
| | |||||
* | Deprecated TemplateHandler line offset | Joshua Peek | 2008-07-05 | 4 | -74/+55 |
| | |||||
* | Ensure all complied method names are cleaned up in the error backtrace | Joshua Peek | 2008-07-05 | 1 | -1/+1 |
| | |||||
* | Moved complied method name logic into Renderable | Joshua Peek | 2008-07-05 | 4 | -23/+24 |
| | |||||
* | Renamed Renderer to Renderable | Joshua Peek | 2008-07-05 | 4 | -4/+4 |
| | |||||
* | Fix rdoc for Filters::ClassMethods | Jeremy Kemper | 2008-07-04 | 1 | -195/+194 |
| | |||||
* | Simplify the implementation of assert_redirected_to to normalise the urls ↵ | Michael Koziarski | 2008-07-04 | 2 | -91/+37 |
| | | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record | ||||
* | Remove old broken follow_redirect from functional tests. Still works in ↵ | Michael Koziarski | 2008-07-04 | 1 | -9/+0 |
| | | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes. | ||||
* | Revert "Moved TemplateHandlers to Base" | Joshua Peek | 2008-07-03 | 4 | -9/+4 |
| | | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb | ||||
* | Allow caches_action to accept cache store options. [#416 state:resolved] | josevalim | 2008-07-04 | 1 | -7/+11 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Allow date helpers to ignore date hidden field tags. [#503 state:resolved] | miloops | 2008-07-04 | 1 | -2/+5 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Reduce the number of callsites for new TemplateFiles | Joshua Peek | 2008-07-03 | 3 | -22/+33 |
| | |||||
* | Extracted Template rendering logic into Renderer module | Joshua Peek | 2008-07-03 | 5 | -33/+42 |
| | |||||
* | Use render on InlineTemplate | Joshua Peek | 2008-07-03 | 1 | -1/+1 |
| | |||||
* | Don't rely on view instance logger | Joshua Peek | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | Moved TemplateHandlers to Base | Joshua Peek | 2008-07-03 | 4 | -4/+8 |
| | |||||
* | Tighten the rescue clause when dealing with invalid instance variable names ↵ | Michael Koziarski | 2008-07-03 | 1 | -1/+5 |
| | | | | in form_helper. | ||||
* | Move the file exists checks outside write_asset_file_contents. | Michael Koziarski | 2008-07-03 | 1 | -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 Koziarski | 2008-07-03 | 2 | -11/+14 |
| | | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts. | ||||
* | Remove unused local_binding option to InstanceTag's Constructor | Michael Koziarski | 2008-07-03 | 3 | -17/+17 |
| | |||||
* | Remove nested ternary operators from select_year in favour of conditionals. | Michael Koziarski | 2008-07-03 | 1 | -11/+20 |
| | |||||
* | Remove unneeded ObjectWrapper class. | Michael Koziarski | 2008-07-03 | 3 | -11/+3 |
| | | | | 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 Koziarski | 2008-07-03 | 1 | -26/+0 |
| | | | | javascript_include_tag and friends do a much better job. | ||||
* | Remove strange alias for JavaScriptHelper | Michael Koziarski | 2008-07-03 | 1 | -2/+0 |
| | |||||
* | Use :namespace instead of :path_prefix for finding controller. [#544 ↵ | Tarmo Tänav | 2008-07-03 | 1 | -2/+1 |
| | | | | | | | | | | state:resolved] :namespace is supposed to be the module where controller exists. :path_prefix can contain anything, including variables, which makes it unsuitable for determining the module for a controller. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Deprecate :use_full_path render option. The supplying the option no longer ↵ | Joshua Peek | 2008-07-02 | 5 | -36/+37 |
| | | | | has an effect. | ||||
* | Added application/jsonrequest as a synonym for application/json | Mike Subelsky | 2008-07-02 | 1 | -1/+2 |
| | | | | [#536 state:resolved] | ||||
* | Make sure render :collection doesnt set nil local when :as is absent | Pratik Naik | 2008-07-02 | 1 | -1/+2 |
| | |||||
* | Add :as option to render a collection of partials with a custom local ↵ | Pratik Naik | 2008-07-02 | 4 | -12/+18 |
| | | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik] | ||||
* | Make sure render :template works with :locals. [#524 state:resolved] | Tim Haines | 2008-07-02 | 1 | -1/+4 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Improved test coverage and added RackRequest support for CGI environment ↵ | Joshua Peek | 2008-07-01 | 1 | -5/+30 |
| | | | | variables. | ||||
* | Ensure proper output when submit_tag is used with :disabled_with. [#388 ↵ | Scott Stewart | 2008-07-02 | 1 | -2/+4 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix indentation and update changelogs for previous commit | gbuesing | 2008-06-29 | 1 | -2/+2 |
| | |||||
* | Added support for regexp matching of priority zones in time_zone_select ↵ | Ernie Miller | 2008-06-29 | 1 | -2/+9 |
| | | | | [#195 state:resolved] | ||||
* | Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] ↵ | Pratik Naik | 2008-06-29 | 1 | -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 Yeow | 2008-06-27 | 1 | -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 API | Joshua Peek | 2008-06-25 | 2 | -8/+6 |
| | |||||
* | Made ActionView::Base#render_file private | Joshua Peek | 2008-06-25 | 6 | -27/+27 |
| | |||||
* | Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and ↵ | Joshua Peek | 2008-06-25 | 1 | -7/+3 |
| | | | | test them at a higher level of abstraction in ViewRenderTest. | ||||
* | Patched HTML::Document#initialize call to Node.parse so that it includes the ↵ | Jimmy Baker | 2008-06-24 | 1 | -1/+1 |
| | | | | strict argument. [#330] | ||||
* | Improve readability | Jeremy Kemper | 2008-06-24 | 2 | -9/+13 |
| | |||||
* | link_to_function and button_to_function shouldn't modify their options hashes | Jeremy Kemper | 2008-06-23 | 1 | -2/+2 |
| | |||||
* | Fixed polymorphic_url to be able to handle singleton resources. | Tammer Saleh | 2008-06-22 | 1 | -12/+25 |
| | | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved] |