You are absolutely right, it's just JavaScript, and digging under the hood uncovered my error. I also modified the plugin slightly to accept a :url parameter in order to specify a controller, action, etc. Just more flexible.
Thanks, -H On Fri, Dec 5, 2008 at 4:42 PM, Hassan Schroeder <[EMAIL PROTECTED] > wrote: > > On Fri, Dec 5, 2008 at 12:51 PM, Harold <[EMAIL PROTECTED]> wrote: > > > The fact that I get no response tells me that nobody is using > > SuperInPlaceControls. What's out there for in place select editing on > > Rails 2.1? Any pointers or comments welcome. > > I think if you had a reproducible test case, it wouldn't be that hard > to get some help fixing the problem -- it's just JavaScript :-) > > >> In Rails 2.1, I am using theSuperInPlaceControlplugin to render an > >> in_place_select on an instance of a model with a has_many > >> relationship. So far so good, except that when I click on OK to save > >> the user's selection, the ajax call is posted, the record is updated, > >> but the label on the view never gets updated. In fact, it blanks out. > > Sounds to me like it might be getting updated with an empty value... > > FWIW, > -- > Hassan Schroeder ------------------------ [EMAIL PROTECTED] > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---