1.0.2

Add compatibility for Rails 3