Closed srbiv closed 12 years ago
The is to fix the deprecation warning thrown by Rails 3.2
Calling set_table_name is deprecated. Please use self.table_name = 'the_name' instead.
self.table_name = 'the_name'
Does this still work right in older versions of Rails?
I tested it out with Rails 3.0.9 and it seems to be working fine. Not sure about anything before that.
Works for me!
The is to fix the deprecation warning thrown by Rails 3.2
Calling set_table_name is deprecated. Please use
self.table_name = 'the_name'
instead.