0.2.0: compatibility with rails 4