changing this dependency so it works with Rails 3.2