Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#collectionizeObject


2
3
4
# File 'lib/core_ext/string.rb', line 2

def collectionize
  split(":").last.tableize # Don't put module name in default Mongoid collection names.
end