# File lib/dm-core/property.rb, line 480 def field(repository_name = nil) if repository_name raise "Passing in +repository_name+ to #{self.class}#field is deprecated (#{caller.first})" end # defer setting the field with the adapter specific naming # conventions until after the adapter has been setup @field ||= model.field_naming_convention(self.repository_name).call(self).freeze end