fix method names for Rails 2 styles