Removed depricated module InstanceMethods

removed module InstanceMethods are they are depricated from rails 3.2 to support rails 4 apps.