I''m having a strange problem with webrick spinning forever. I have a view ''list'' that renders a collection: <%= render :partial => ''item'', :collection => @items %> The item partial looks like so: <div id="item_<%= item.id %>"> ... <div id="price"> <%= in_place_editor_field :item, :price %> </div> </div> If I delete the in_place_editor line the page will render. If I leave it there webrick will spin indefinitely, but will never print anything to the console or to the log. I''d run lighttpd but am having library path issues with that I"d prefer not to address right now. Webrick *should* work here. Thanks for any insight you can provide, pt. -- Parker Thompson http://www.parkert.com/ 510.541.0125
Hmm, I was able to work around this by running webrick in production mode. One other caveat, to get in_place_editor_field to work, I had to modify it to read: <%= @item = item; in_place_editor :item, :price %> Luckily I was able to find an allusion to having to do this in partials on this list (god bless gmail search). Thanks, pt. On 1/23/06, Parker Thompson <parkert@gmail.com> wrote:> I''m having a strange problem with webrick spinning forever. I have a > view ''list'' that renders a collection: > > <%= render :partial => ''item'', :collection => @items %> > > The item partial looks like so: > > <div id="item_<%= item.id %>"> > ... > <div id="price"> > <%= in_place_editor_field :item, :price %> > </div> > </div> > > If I delete the in_place_editor line the page will render. If I leave > it there webrick will spin indefinitely, but will never print anything > to the console or to the log. I''d run lighttpd but am having library > path issues with that I"d prefer not to address right now. Webrick > *should* work here. > > Thanks for any insight you can provide, > > pt. > -- > Parker Thompson > http://www.parkert.com/ > 510.541.0125 >-- Parker Thompson http://www.parkert.com/ 510.541.0125
Im getting a similar error where the inplace field will be in "saving mode" indefinately, anybody know how to fix this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---