Module: Riagent::ActiveDocument::ClassMethods
- Defined in:
- lib/riagent/active_document.rb
Instance Method Summary collapse
-
#collection_name ⇒ Object
Returns string representation for the collection name Used to determine the Riak Bucket name Uses ActiveModel::Naming functionality to derive the name.
Instance Method Details
#collection_name ⇒ Object
Returns string representation for the collection name Used to determine the Riak Bucket name Uses ActiveModel::Naming functionality to derive the name
49 50 51 |
# File 'lib/riagent/active_document.rb', line 49 def collection_name self.model_name.plural end |