starting rails 4 compatibility