Allow user to pass lambda to local attributes, block will be

evaluated and its results assigned to the local object.

synced local_attributes: { reviews_count: -> (booking) { booking.reviews.size } }
Sure, could be. Can you tell me example usage?