fix callbacks when binding to object

Fixes #282 where using `bind_to_object` with ActiveRecord causes NoMethodErrors.