class Setting < ActiveRecord::Base self.table_name = "settings" self.primary_key = 'id' end