From 5e8e74b391144c6124553ad2679c89f86b36adf4 Mon Sep 17 00:00:00 2001 From: Aidan Feldman Date: Wed, 2 Feb 2011 23:13:22 -0500 Subject: [PATCH] added gem instruction --- README.rdoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.rdoc b/README.rdoc index 0f4a7f1..214ec7a 100644 --- a/README.rdoc +++ b/README.rdoc @@ -4,10 +4,14 @@ A gem to add in-place-editable fields to your Rails project. It is a wrapper fo == Requirements -* jQuery[http://www.jquery.com] - see jquery-rails[http://github.com/indirect/jquery-rails] for easy integration with your Rails project +* jQuery[http://www.jquery.com] 1.2.6+ - see jquery-rails[http://github.com/indirect/jquery-rails] for easy integration with your Rails project * Jeditable[http://www.appelsiini.net/projects/jeditable] -== Example +== Usage + +Assuming a Rails 3 project, in your Gemfile, add: + + gem 'jeditable-rails' Suppose you have a User model with a #zip_code attribute.