Forum: Ruby on Rails Red box is not working

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Unni K. (Guest)
on 2007-07-04 16:02
following my code for redbox... but its not working anyone know


<%= javascript_include_tag "prototype" %>

 <%= stylesheet_link_tag 'redbox' %>
<%= javascript_include_tag :defaults %>
<%= javascript_include_tag 'redbox' %>


<%= link_to_remote_redbox('Login', :update => 'magic', :url => {:action
=> 'log'}) %> |
<%= link_to_remote_redbox('Signup', :update => 'magic', :url => {:action
=> 'sig'}) %>

<div id=magic >



AndyV (Guest)
on 2007-07-05 20:40
(Received via mailing list)
Not sure if it was intentional or not, but the "magic" div needs its
id in quotes (same with your other post so I'm guessing that this is

Also, Redbox inserts a div into your page and copies the results of
rendering the named action (remote_redbox) into that div.  As such,
you do not need the :update parameter.  An example of my use:

<%= link_to_remote_redbox
h(, :url=>edit_activity_path(activity), :method=>:get -

The :method=>:get was necessary because I'm using RESTful controllers.

On Jul 4, 8:02 am, Unni K. <removed_email_address@domain.invalid>
unnikrishnan (Guest)
on 2007-07-06 08:50
could u please tell me something about RESTful controllers and REST
This topic is locked and can not be replied to.