arydjmal / in_place_editing forked from rails/in_place_editing

A modified version of the InPlaceEditing plugin in order to run validations before saving.

in_place_editing / README
100644 14 lines (10 sloc) 0.279 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
InPlaceEditing
==============
 
Example:
 
  # Controller
  class BlogController < ApplicationController
    in_place_edit_for :post, :title
  end
 
  # View
  <%= in_place_editor_field :post, 'title' %>
 
Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license