Page.insert_html and the :text argument

I’ve got a problem with .rjs templates. When I do
page.insert_html :bottom, ‘stylist_tablebox’, :text => “what ever”
This is what I get:
new Insertion.Bottom(‘stylist_tablebox’, null);

I tried this on Edge rails revision 3860 in an inline rjs update.

Thanks in advance,

try page.insert_html :bottom, “stylist_tablebox”, “whatever”

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs