fixing features for Rails 3.0