plutus
plutus copied to clipboard
Rails 7 compatibility
I am attempting to upgrade an existing application to Rails 7, and when I attempt to start rails server in my terminal I get the following error:
gems/plutus-0.17/app/controllers/plutus/entries_controller.rb:14:in <class:EntriesController>': undefined local variable or method unloadable' for Plutus::EntriesController:Class (NameError)
I did some digging in the activesupport source files, and it looks like the 'unloadable' method has been removed in the 7.0 branch.
Hi @PatrickMcSweeny How is it going on Rails 7? Are you using it on production ?
Hi @mbulat Any updates on supporting Rails 7 ?
I had given it a try when 7.0 came out, but a lot of gem dependencies at the time had issues. I might try again assuming gems have had time to update when I get a chance.
If anyone wants to give it a shot, feel free to send in a pull request.
Awesome, many thanks! Rails 7 updates merged. Anyone with any issues, please post back.
Hi @mbulat,
How to update the gem in application ?
Will you release new version ?
Thanks.
At the moment, master branch is supporting Rails 7 so you can use the git path in the Gemfile.
Usually I give things a little while to make sure there are no outstanding problems and then I'll bump the version number and publish a new gem once it's fairly stable.
Can this now be released as a new version. It's been a while since rails has been released.
Problem still persisting.
/Users/mo/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/plutus-0.17/app/controllers/plutus/accounts_controller.rb:14:in
<class:AccountsController>': undefined local variable or method
`unloadable' for Plutus::AccountsController:Class (NameError)
Rails Version 7.0 Ruby 3.1.2 Plutus 0.17
Try using the git version of the gem. Unfortunately, the owner/maintainer of the gem is not releasing a new version of this gem!
Hi all! Sorry for the delays, I'll try and get to this today and get a release out.
Any plan to release?