search for: script_cycle_rj

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

Did you mean: script_cycle_rjs
2006 Apr 28
10
Sharing RJS Templates
Hello All, I''m enjoying the simplicity and power of RJS templates in Rails 1.1, but am perplexed about sharing them. I have several templates that I would like to access in various controllers, but if I moved them to views/shared/whatever.rjs, my app can''t seem to find them. I changed the name to _whatever.rjs and referenced them as "shared/whatever", but no luck.
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
...al code: <%= link_to_remote( image_tag("capsule_public.gif", :size => "72x16"), :url => { :action => ''shared/script_status_cycle'', :id => @member.id }) Should go to "shared/_script_status.cycle.rjs," I would think. Or "shared/script_cycle_rjs." Neither seem to work. I get this error: ActionController::UnknownAction (No action responded to shared/script_status_cycle), which tells me that it''s not actually the RJS that is the problem, it''s the action. So I think my approach must be wrong. I need to go to the &...