lib/beerdb/models/beer.rb in beerdb-0.6.0 vs lib/beerdb/models/beer.rb in beerdb-0.6.1
- old
+ new
@@ -132,10 +132,10 @@
end
value_tag_keys += tag_keys
else
# issue warning: unknown type for value
- logger.warn "unknown type for value >#{value}<"
+ logger.warn "unknown type for value >#{value}< - key #{new_attributes[:key]}"
end
end # each value
# rec = Beer.find_by_key_and_country_id( new_attributes[ :key ], new_attributes[ :country_id] )
rec = Beer.find_by_key( new_attributes[ :key ] )