ckdake / setler

Setler lets you use the 'Feature Flags' pattern or add settings to models in Rails
MIT License
84 stars 21 forks source link

set_table_name is deprecated in Rails 3.2 #14

Closed srbiv closed 12 years ago

srbiv commented 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.

ckdake commented 12 years ago

Does this still work right in older versions of Rails?

srbiv commented 12 years ago

I tested it out with Rails 3.0.9 and it seems to be working fine. Not sure about anything before that.

ckdake commented 12 years ago

Works for me!