baseobject and erb binding fixes
fix ActiveSupport 4