app/models/concerns/spina/partable.rb in spina-2.8.0 vs app/models/concerns/spina/partable.rb in spina-2.8.1

- old
+ new

@@ -8,10 +8,10 @@ def part(attributes) part = find_part(attributes[:name]) || attributes[:part_type].constantize.new # Copy all attributes to part - %w(name title options).each do |attribute| + %w(name title hint options).each do |attribute| part.public_send("#{attribute}=", attributes[attribute.to_sym]) if part.respond_to?(attribute) end part end