Rails 3.0 support