lib/transcriber/resource/parser/embeddable.rb in transcriber-0.0.22 vs lib/transcriber/resource/parser/embeddable.rb in transcriber-0.0.23
- old
+ new
@@ -15,10 +15,10 @@
def digg(input)
input_path.inject(input) {|buffer, key| buffer = buffer[key]}
end
- def from_hash(attrs)
+ def from_hash(attrs, resource = nil)
raw? ? attrs : super
end
def to_input(value, resource, options = {})
return {} if value.nil?