README.md in ears-0.7.2 vs README.md in ears-0.8.0

- old
+ new

@@ -90,10 +90,12 @@ ```ruby require 'ears/middlewares/json' class MyConsumer < Ears::Consumer # register the JSON middleware and don't symbolize keys (this can be omitted, the default is true) - use Ears::Middlewares::JSON, symbolize_keys: false + use Ears::Middlewares::JSON, + on_error: Proc.new { :reject }, + symbolize_keys: false def work(delivery_info, metadata, payload) return ack unless payload['data'].nil? # this now just works end end