search for: script_status_cycle

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

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
...t=ISO-8859-1; format=flowed Ahhhhhhh, since it''s not a partial, no underscore. Well, no. I must be doing something wrong still. Actual 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 i...