search for: add_rjs_to_action_control

Displaying 2 results from an estimated 2 matches for "add_rjs_to_action_control".

2006 Feb 06
1
template choice error (layout.rb)
Hey, I installed the rjs plugin yesterday and started using it for one set of views. Today I notice that in an entirely separate controller/template I''m seeing this error: TypeError (can''t dup NilClass): /vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:41:in `dup'' /vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:41:in `default_template_name'' /vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:64:in `candidate_for_layout?'' /vendor/plugins/...
2006 Jan 11
0
AJAX: link_to_remote problem
...using the correct url, but the url parameter seems to be not correct: TypeError in Account#create can''t dup NilClass RAILS_ROOT: C:/Projects/Athena/rails/public/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:41:in `dup'' the controller contains: def create render :layout => false end create.rhtml contains: <em>Hello from Ajax!</em> new.rhtml contains: <%= javascript_include_tag :defaults %> <%= link_to_remote("Update", :update...