Version 3.0 for Rails 3+