huacnlee / rails-settings-cached

Global settings for your Rails application.
Other
1.06k stars 202 forks source link

Settings.new throw exception when table have table name prefix #76

Closed godfox2012 closed 5 years ago

godfox2012 commented 9 years ago
class Settings < RailsSettings::CachedSettings
  self.table_name =  'xxx_settings'
end

base rails4.2.1, mysql5.5

huacnlee commented 9 years ago

I have wrote a test, it's work will.

0faecfcf4d6aa550bbcb4b1dcafc0d157eb237b9