class Settings

Public Class Methods

table_exists?() click to toggle source
# File lib/generators/sunrise/templates/models/mongoid/settings.rb, line 16
def self.table_exists?
  true
end
update_attributes(attributes) click to toggle source
# File lib/generators/sunrise/templates/models/active_record/settings.rb, line 10
def self.update_attributes(attributes)
  attributes.each do |key, value|
    self[key] = value
  end
end