lib/gon.rb in gon-0.2.0 vs lib/gon.rb in gon-0.2.1
- old
+ new
@@ -11,8 +11,8 @@
new_data = {}
new_data[name] = value if name && value
Rails.cache.delete('gon_variables')
- Rails.cache.write('gon_variables', (new_data.merge data))
+ Rails.cache.write('gon_variables', (new_data.reverse_merge data))
end
end