Hey lads,

I'm stuck!! implementing in_place_editing is simple, according to many
tutorials. but i can't find out what i'm doing wrong. I can edit the
text, but when I hit the "Ok" key, the "Saving..." part comes up and
nothing happen. any idea's? Thanks!!

controller
  in_place_edit_for :blog_post, :content

  def set_blog_post_content
    post = Blog::Post.find(params[:value])
    render :text => post.content
  end

view

<%  @blog_post = @post%>
<%= in_place_editor_field :blog_post, :content%>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to