# Edit in Place in 1.1

**URL:** <https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474>\
**Category:** Rails\
**Created:** [April 3, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474 "2006-04-03T21:36:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_DSGoodfello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Post date:** [April 3, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474/1 "2006-04-03T21:36:49Z")

</div>

Does anyone have a good example or know of some documentation about  
how to implement “Edit in Place” using Rails 1.1? Like the  
functionality in Flickr… I’ve googled and googled and can’t find any  
good documentation. Maybe it’s because 1.1 is so new? Thanks in  
advance.

-Andy

---

<div class="post-metadata">

**Author:** ![Andrew\_DSGoodfello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Post date:** [April 3, 2006, 9:49pm UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474/2 "2006-04-03T21:49:05Z")

</div>

Have you looked into Scriptaculous?

[http://script.aculo.us](http://script.aculo.us)

-Derrick

---

<div class="post-metadata">

**Author:** ![Andrew\_DSGoodfello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Post date:** [April 3, 2006, 9:58pm UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474/3 "2006-04-03T21:58:15Z")

</div>

A little… I see this page:  
[http://wiki.script.aculo.us/scriptaculous/show/IntegrationWithRubyOnRails](http://wiki.script.aculo.us/scriptaculous/show/IntegrationWithRubyOnRails)  
and then this page:  
[http://blog.codahale.com/2006/01/14/a-rails-howto-simplify-in-place-editing-with-scriptaculous/](http://blog.codahale.com/2006/01/14/a-rails-howto-simplify-in-place-editing-with-scriptaculous/)  
(which seems to be down now)

But isn’t everything a little bit tighter/different now with 1.1? I’ve  
seen the one older Edit in Place example above, but now with 1.1 I  
figured there was a “better” way to do it.

-Andy

---

<div class="post-metadata">

**Author:** ![Andrew\_DSGoodfello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Post date:** [April 4, 2006, 10:32am UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474/4 "2006-04-04T10:32:18Z")

</div>

Andrew D. Goodfellow wrote:

> Does anyone have a good example or know of some documentation about  
> how to implement “Edit in Place” using Rails 1.1? Like the  
> functionality in Flickr… I’ve googled and googled and can’t find any  
> good documentation. Maybe it’s because 1.1 is so new? Thanks in  
> advance.

In the view use in\_place\_editor\_field and in the controller use  
in\_place\_edit\_for.

E.g.,  
\<%= in\_place\_edit\_for :meeting, :title %\>

and

in\_place\_edit\_for :meeting, :title

–  
Martin Tomes  
echo ‘martin at tomes x org x uk’  
| sed -e ‘s/ x /./g’ -e ‘s/ at /@/’

Visit [http://www.subversionary.org/](http://www.subversionary.org/)

---

<div class="post-metadata">

**Author:** ![Andrew\_DSGoodfello](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Post date:** [April 3, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474/5 "2006-04-03T22:16:35Z")

</div>

Ok, this example is back up now:  
[http://blog.codahale.com/2006/01/14/a-rails-howto-simplify-in-place-editing-with-scriptaculous/](http://blog.codahale.com/2006/01/14/a-rails-howto-simplify-in-place-editing-with-scriptaculous/)

Is this the way we should still do Edit in Place with Rails 1.1?

-Andy
