Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated CHANGELOG.

  • Loading branch information...
commit fd3ee59ae9f40c9058271c05a50217c2bad60717 1 parent 7b91b25
@assaf assaf authored
Showing with 36 additions and 5 deletions.
  1. +26 −0 CHANGELOG
  2. +10 −5 README.rdoc
View
26 CHANGELOG
@@ -1,3 +1,29 @@
+== 1.7.0 (Pending)
+
+1.7.0 adds support for ActionMailer, for example:
+
+ class UserMailer < ActionMailer::Base
+ def invite_email(user)
+ use_vanity_mailer user
+ mail :to => user.email, :subject => ab_test(:invite_subject)
+ end
+ end
+
+See the documentation for more details.
+
+
+With 1.7.0 and moving forward, if you need to setup a database schema
+(relational databases only), please use the generator:
+
+ $ rails generate vanity
+ $ rake db:migrate
+
+
+Rails generator for AR migrations (Zaid Zawaideh)
+
+A/B testing in ActionMailer (Joseph Sofaer)
+
+
== 1.6.1 (2011-07-20)
Fixed cookie domain setting.
View
15 README.rdoc
@@ -21,12 +21,17 @@ http://farm3.static.flickr.com/2540/4099665871_497f274f68_o.jpg
end
== Rails 3 configuration
+
+Add to your Gemfile:
+
+ gem "vanity"
+
+If using a relational database, run the generator and migrations to create the database schema:
+
+ $ rails generate vanity
+ $ rake db:migrate
- gem 'vanity' # in Gemfile, either outside of a group or inside of a bundler group
- rails generate vanity
- rake db:migrate
-
-And:
+Add to your application controller:
class ApplicationController < ActionController::Base
use_vanity :current_user
Please sign in to comment.
Something went wrong with that request. Please try again.