tinogomes/mezu — pull request #4 by lenon (2012-07-04 04:42:18+00:00)
Title: set_table_name has been deprecated in favor of self.table_name=

set_table_name has been deprecated in favor of self.table_name= on Rails 3.2.0 https://github.com/rails/rails/blob/master/activerecord/CHANGELOG.md#rails-320-january-20-2012

Rails 3.2.0 (January 20, 2012)
...
Deprecated:

set_table_name

Use an assignment method instead. For example, instead of set_table_name, use self.table_name=:

class Project < ActiveRecord::Base
self.table_name = "project"
end

This commit fix this problem (and also the annoying warnings on Rails 3.2 applications :P).