module Riagent::ActiveDocument::ClassMethods

Public Instance Methods

collection_name() click to toggle source

Returns string representation for the collection name Used to determine the Riak Bucket name Uses ActiveModel::Naming functionality to derive the name

# File lib/riagent/active_document.rb, line 48
def collection_name
  self.model_name.plural
end