3 title: Message detail for PLMC14
7 Detail for Marionette Collective message PLMC14
8 ===========================================
13 No block supplied to synchronize on cache 'my_cache'
15 Additional Information
16 ----------------------
18 When using the Cache to synchronize your own code across agents or other plugins you have to supply a block to synchronise.
20 Correct usage would be:
22 Cache.setup(:customer, 600)
23 Cache(:customer).synchronize do
24 # update customer record
27 This error is raise when the logic to update the customer record is not in a block as in the example