V0.2.3 compatible with rails 4.x