module DataMapper::NamingConventions::Field::UnderscoredAndPluralized
Public Class Methods
call(property)
click to toggle source
# File lib/dm-core/support/naming_conventions.rb, line 64 def self.call(property) DataMapper::Inflector.pluralize(DataMapper::Inflector.underscore(property.name.to_s)).gsub('/', '_') end