static_blocks 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,11 @@ module StaticBlocks
85
85
  (?, ?, ?, ?, ?)", static_block.id, row['locale'], row['content'], row['created_at'], row['updated_at']]
86
86
  raw_sql = sanitize_sql_array(sql_array)
87
87
  end
88
+
88
89
  ActiveRecord::Base.connection.execute(raw_sql)
90
+
91
+ # manually clear the cache for that snippet
92
+ Rails.cache.delete("snippet::#{row['locale']}::#{row['title']}")
89
93
  end
90
94
  end
91
95
  end
@@ -1,3 +1,3 @@
1
1
  module StaticBlocks
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
Binary file