Displaying 2 results from an estimated 2 matches for "add_rjs_to_action_view".
2006 Jan 30
5
a RJS problem/patch
Hi,
add_rjs_to_action_view.rb of javascript_generator_templates
doesn''t work with setting Content-Type in a controller.
(e.g.) http://wiki.rubyonrails.org/rails/pages/HowtoSetDefaultEncoding
class ApplicationController < ActionController::Base
before_filter :set_charset
def set_charset
@headers["Con...
2005 Dec 21
2
Missing error page templates
...could''ve
cause this? This is from the logs:
ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/template_error.rhtml):
/vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_view.rb:10:in
`pick_template_extension''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:195:in
`multilingual_old_render_file''
/vendor/plugins/multilingual/lib/multilingual/rails/action_view.rb:15:in
`render_file''
/usr/lib/ruby/gems/1.8/gems/ac...