This method is private in Rails 2