Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEPRECATION WARNING yeti-web 1.9.5 #570

Closed
senid231 opened this issue Nov 29, 2019 · 1 comment
Closed

DEPRECATION WARNING yeti-web 1.9.5 #570

senid231 opened this issue Nov 29, 2019 · 1 comment

Comments

@senid231
Copy link
Member

senid231 commented Nov 29, 2019

DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s):
 ["sum(amount) as total_amount", "sum(calls_count) as total_calls_count", "sum(calls_duration) as total_calls_duration"]. 
Non-attribute arguments will be disallowed in Rails 6.0. 
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(). 
(called from totals_row_by at app/models/concerns/acts_as_totals_relation.rb:7)
@senid231 senid231 self-assigned this Nov 29, 2019
@senid231
Copy link
Member Author

DEPRECATION WARNING: Active Admin: The `type` parameter has been deprecated. Provide the "success" type as
a class instead. 
For example, `status_tag(status, :success, class: "abc")`
would change to `status_tag(status, class: "success abc")`. 
Also note that the "success" CSS rule will be removed too, so you'll have to provide
the styles yourself. 
See https://github.com/activeadmin/activeadmin/blob/master/CHANGELOG.md#110-
for more information.
 (called from block (5 levels) in <top (required)> at app/admin/cdr/cdrs.rb:296)

DEPRECATION WARNING: Active Admin: The `type` parameter has been deprecated. Provide the "success" type as a class instead. 
For example, `status_tag(status, :success, class: "abc")` would change to `status_tag(status, class: "success abc")`. 
Also note that the "success" CSS rule will be removed too, so you'll have to provide
the styles yourself. See https://github.com/activeadmin/activeadmin/blob/master/CHANGELOG.md#110- for more information.
 (called from block (6 levels) in <top (required)> at app/admin/cdr/cdrs.rb:388)

@senid231 senid231 removed their assignment May 13, 2020
@gigorok gigorok closed this as completed May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants