Support Rails 3.0