GeorgeKaraszi / ActiveRecordExtended

Adds additional postgres functionality to an ActiveRecord / Rails application
MIT License
1.32k stars 43 forks source link

Support for ActiveRecord 8.0.0.beta #112

Open gbrancaglione opened 1 month ago

gbrancaglione commented 1 month ago

Hi team,

I'm working on upgrading a project we have at Capim to Rails 8.0.0.rpc2, but I noticed that currently, there's no support for Rails versions >= 8.0.0. Iā€™d love to help move things forward, would anyone be available to guide me on how to get started?

Thanks! šŸ˜Š

chaadow commented 2 weeks ago

@GeorgeKaraszi Hi, rails 8 has been released, is it possible to release a new version please šŸ™šŸ¼ This is blocking upgrades

( It would be great if the upper limit of rails / activerecord be removed to make it easier for those on rails 8.1( main branch ) to be able to use this gem )

Thanks!

GeorgeKaraszi commented 2 weeks ago

I can reduce the restrictions over Rails. However, this comes with many untested risks. A significant number of changes were made to AR between 7.1 and 8.0, many of which have made this gem unnecessary in some key areas. CTEs and column aliasing are examples where I feel time would be better spent converting over to the more official way.

GeorgeKaraszi commented 2 weeks ago

feature/rails80

Here is an experimental PR. I have not dived into many of the changesets yet, nor have I looked into deprecations to encourage people to use Rails' officially supported API.