lib/granite/form/model/associations/reflections/singular.rb in granite-form-0.3.0 vs lib/granite/form/model/associations/reflections/singular.rb in granite-form-0.4.0

- old
+ new

@@ -2,23 +2,9 @@ module Form module Model module Associations module Reflections module Singular - extend ActiveSupport::Concern - - module ClassMethods - def generate_methods(name, target) - super - - target.class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def build_#{name} attributes = {} - association(:#{name}).build(attributes) - end - RUBY - end - end - def collection? false end end end