Forum: Ruby on Rails Problem with using super_in_place_controls

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.
7db3b1680807d393d40260591b4ae5e0?d=identicon&s=25 sa 125 (sa125)
on 2009-01-12 17:17
Anyone successfully used super_in_place_controls
(http://os.flvorful.com/super_in_place_controls/download)?

I've tried to add them to my project, but whenever I update something it
sets the css display property of the element to none. When I refresh the
page it the text appears again but it doesn't update to the new value.
Anyone had luck with this?

Also, if there's another similar plugin out there that enables using
controls other than a text field (select, checkbox) and works well, I'd
be glad to hear about it.
7db3b1680807d393d40260591b4ae5e0?d=identicon&s=25 sa 125 (sa125)
on 2009-01-13 13:16
After cleaning my vendor/plugins directory from in_place_editing which,
apparently, was conflicting with super_in_place_controls, everything
worked well.

Remember to keep in_place_edit_for inside the controller:

class ProductsController < ApplicationController

  in_place_edit_for :product, :name

  #....

end


And in the view (well, partial):

<% @product = product %>
<%= in_place_text_field :product, :name %>
This topic is locked and can not be replied to.