Class: PostJson::ModelSettings

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/post_json/model_settings.rb

Class Method Summary collapse

Class Method Details

.collection_name_digest(name) ⇒ Object


12
13
14
# File 'lib/post_json/model_settings.rb', line 12

def collection_name_digest(name)
  Digest::MD5.hexdigest(name.to_s.strip.downcase)
end