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 } }