generate resource params if rails 4 app or used strong params gem