Browse files

Merge pull request #16 from robin850/master

Few improvement for the README
  • Loading branch information...
2 parents 6aaf49f + 5914ccf commit 9b7aa46341fd1388608b323e1351c6ee3a26eca0 @rafaelfranca rafaelfranca committed Jul 20, 2012
Showing with 9 additions and 6 deletions.
  1. +9 −6
@@ -37,11 +37,11 @@ class ContactForm < MailForm::Base
-Then you start a `script/console` and type:
+Then you start a console with `rails console` and type:
-c = => 'José', :email => '', :message => 'Cool!')
+>> c = => 'José', :email => '', :message => 'Cool!')
+>> c.deliver
Check your inbox and the e-mail will be there, with the sent fields (assuming that
@@ -90,13 +90,16 @@ class User < ActiveRecord::Base
-The delivery will be triggered in an after_create hook.
+The delivery will be triggered in an `after_create` hook.
## Installation
-Install **MailForm** is very easy. It is stored in Gemcutter, so just run the following:
+Install **MailForm** is very easy. Just edit your Gemfile adding the following:
-`sudo gem install mail_form`
+gem 'mail_form'
+Then run `bundle install` to install **MailForm**.
If you want it as plugin, just do:

0 comments on commit 9b7aa46

Please sign in to comment.