Methods

Class/Module Index [+]

Quicksearch

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.