# File lib/dm-core/associations/many_to_one.rb, line 131 def initialize(name, source_model, target_model, options = {}) @nullable = options.fetch(:nullable, false) target_model ||= Extlib::Inflection.camelize(name) options = { :min => @nullable ? 0 : 1, :max => 1 }.update(options) super end