Forum: Ruby on Rails in_place_editor isn't working?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6ec1e89eef5ce09fbfa56be5b6dd17b5?d=identicon&s=25 Adam Bloom (admanb)
on 2009-01-15 23:39
(Received via mailing list)
I installed the in_place_editor plugin from
http://dev.rubyonrails.org/svn/rails/plugins/in_pl...

This is what I have:

<%= in_place_editor_field :frontpage,
'page_text', :in_place_editor_options => { :rows => '30', :cols =>
'20', :save_text => 'do this' } %>

This is what I get:

<span class="in_place_editor_field"
id="frontpage_page_text_1_in_place_editor"
in_place_editor_options="cols20save_textdo thisrows30">Placeholder
text for the frontpage.</span><script type="text/javascript">

new Ajax.InPlaceEditor('frontpage_page_text_1_in_place_editor', '/
frontpage/set_frontpage_page_text/1')

It seems like in_place_editor_options is being co-opted as
tag_options. Am I a moron, or is something going wrong?

-Adam
This topic is locked and can not be replied to.