Replaced 'delegate' with 'instance_delegate' to avoid collisions

Replaced 'delegate' with 'instance_delegate' to avoid collisions between ruby's Forwardable 'delegate' method and ActiveRecord's 'delegate' method.