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

Updating records in Rails >= 6.1 fails #406

Closed
lostie opened this issue Jan 11, 2021 · 1 comment
Closed

Updating records in Rails >= 6.1 fails #406

lostie opened this issue Jan 11, 2021 · 1 comment

Comments

@lostie
Copy link
Contributor

lostie commented Jan 11, 2021

Expected behavior

Updating a record in the database using the ForestAdmin UI saves the record with the new values provided.

Actual behavior

The update fails and the record is not updated in the database.

Failure Logs

Screenshot 2021-01-11 at 13 53 09

Context

Rails 6.1 has removed
update_attributes and update_attributes! in favour of update and update! respectively

  • Package Version: 5.4.0
  • Rails Version: 6.1.0
  • Database Dialect: Postgresql
  • Database Version:
@arnaudbesnier
Copy link
Member

Hi @lostie @berkos, the patch is available in version 5.4.3.

Thanks for you patience.

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

2 participants