Webrick and in_place_editor_field


#1

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:

...
<%= in_place_editor_field :item, :price %>

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 T.
http://www.parkert.com/
510.541.0125


#2

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 T. removed_email_address@domain.invalid wrote:

<%= in_place_editor_field :item, :price %>

pt.

Parker T.
http://www.parkert.com/
510.541.0125


Parker T.
http://www.parkert.com/
510.541.0125


#3

Im getting a similar error where the inplace field will be in “saving
mode” indefinately, anybody know how to fix this?