Added rails 4