
1 script/plugin install git://github.com/aaronchi/jrails.git 2 script/plugin install git://github.com/rakuto/jrails_in_place_editing.git
1 <head> 2 <%= javascript_include_tag :defaults %> 3 </head> 4
Restart your server
1. ..Controller
1 class ProjectsController < ApplicationController 2 in_place_edit_for :project, :acreage 3 ... 4 end
1 class ProjectsController < ApplicationController
2 in_place_edit_for :project, :acreage
3 …
4 end
2. ..View
1 <%= in_place_editor_field :project, :acreage %> 2
1 <%= in_place_editor_field :project, :acreage %>
2That’s it. For more on customization and additional options check out the jrails_in_place_editing readme at:
![]()
Spitfire Sky | github | archives | resume