andypike / rectify

Build maintainable Rails apps
MIT License
596 stars 48 forks source link

Support Ruby 3 #60

Open andypike opened 2 years ago

egracens commented 2 years ago

Hi @andypike! Thank you for working on Ruby 3 support! How soon will you merge this PR?

svpersteve commented 2 years ago

+1 this is the only thing blocking our upgrade to Ruby 3. Let me know if we can help in any way.

boena commented 2 years ago

😍 Can't wait for this to be released

sonalchinioti commented 1 year ago

This is blocking our update as well, @andypike Any plans for rolling this out?

Jonic commented 1 year ago

Hey @andypike, now that Ruby 2.7 has reached EOL, I thought I'd check to see if this PR was likely to be merged any time soon, to help with our efforts upgrading to Ruby 3.0 - do you need any help with it?

demental commented 8 months ago

Hey @andypike ! Thanks for this PR! Any plan to merge it?

I think presenter needs also kwarg support:


def method_missing(method_name, *args, **kargs, &block)
  if view_context.respond_to?(method_name)
    view_context.public_send(method_name, *args, **kargs, &block)
  else
    super
  end
end

Also, it would be great to have a Ruby-3-only release so it's easier to make a smooth upgrade:

Rails 6 Ruby 2.X > Ruby 3.X

Then

Rails 6 > Rails 7