Hello, when we access to your Api, we got this error.
message": "Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): \"home_team_score + away_team_score DESC\".This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql()."
Hello, when we access to your Api, we got this error.
message": "Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): \"home_team_score + away_team_score DESC\".This method should not be called with user-provided values, such as request parameters or model attributes. Known-safe values can be passed by wrapping them in Arel.sql()."
Thanks