Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

InPlaceEditing plugin

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 in_place_editing.gemspec
Octocat-spinner-32 init.rb
README.rdoc

in_place_editing

A Rails plugin for in-place editing fields.

Installation

gem install in_place_editing

Usage

In your controller define what model and fields you want in-place editing support for.

class BlogController < ApplicationController
  in_place_edit_for :post, :title
end

In a view tell it where to place the JS and data.

<%= in_place_editor_field :post, 'title' %>

Copyright © 2007 David Heinemeier Hansson, released under the MIT license

Something went wrong with that request. Please try again.