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

Rails 7 compatibility #146

Open
PatrickMcSweeny opened this issue Feb 16, 2022 · 11 comments
Open

Rails 7 compatibility #146

PatrickMcSweeny opened this issue Feb 16, 2022 · 11 comments

Comments

@PatrickMcSweeny
Copy link

PatrickMcSweeny commented Feb 16, 2022

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.

@kirantpatil
Copy link

Hi @PatrickMcSweeny
How is it going on Rails 7?
Are you using it on production ?

@kirantpatil
Copy link

Hi @mbulat
Any updates on supporting Rails 7 ?

@mbulat
Copy link
Owner

mbulat commented Oct 10, 2022

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.

@sbstn-jmnz sbstn-jmnz mentioned this issue Oct 11, 2022
@mbulat
Copy link
Owner

mbulat commented Oct 11, 2022

Awesome, many thanks! Rails 7 updates merged. Anyone with any issues, please post back.

@kirantpatil
Copy link

Hi @mbulat,

How to update the gem in application ?

Will you release new version ?

Thanks.

@mbulat
Copy link
Owner

mbulat commented Oct 12, 2022

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.

@amit
Copy link

amit commented Jul 6, 2023

Can this now be released as a new version. It's been a while since rails has been released.

@moseslucas
Copy link

moseslucas commented Jul 20, 2023

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

@amit
Copy link

amit commented Jul 20, 2023

Try using the git version of the gem. Unfortunately, the owner/maintainer of the gem is not releasing a new version of this gem!

@mbulat
Copy link
Owner

mbulat commented Jul 20, 2023

Hi all! Sorry for the delays, I'll try and get to this today and get a release out.

@crifat
Copy link

crifat commented Nov 8, 2023

Any plan to release?

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

6 participants