lib/rom/rails/model/form.rb in rom-rails-0.6.0 vs lib/rom/rails/model/form.rb in rom-rails-0.7.0

- old
+ new

@@ -82,11 +82,11 @@ # # @api public attr_reader :errors delegate :model_name, :persisted?, :to_key, to: :model - alias_method :to_model, :model + alias to_model model class << self delegate :model_name, to: :attributes end @@ -150,9 +150,8 @@ # # @api public def attributes self.class.attributes[params] end - end end end