fixed model create with rails 4.0