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

Rake task uses rails method that was deprecated in rails 3.2 #1194

Open
2 tasks
chrisortman opened this issue Nov 27, 2017 · 0 comments
Open
2 tasks

Rake task uses rails method that was deprecated in rails 3.2 #1194

chrisortman opened this issue Nov 27, 2017 · 0 comments

Comments

@chrisortman
Copy link
Contributor

There are two instances of rake tasks that break if run using newer versions of rails.

assign_attributes took two arguments prior to rails 4 in order to accommodate mass assignment protection.

Because this behavior was moved out to a gem in rails 4.0.2 these calls to assign_attributes no longer work.

https://apidock.com/rails/v4.0.2/ActiveRecord/AttributeAssignment/assign_attributes

chrisortman added a commit to ui-icts/sparc-request that referenced this issue Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant