activerecord-sqlserver-adapter icon indicating copy to clipboard operation
activerecord-sqlserver-adapter copied to clipboard

Rails 5.2

Open cvkmohan opened this issue 8 years ago • 56 comments

Hi, When I add the Gem into a rails app with 5.2.0.beta - It is raising an error. Can not think of any breaking changes between 5.1 and 5.2 regarding ActiveRecord. Can you please suggest how to make it work?

cvkmohan avatar Jan 24 '18 05:01 cvkmohan

No work has been done for 5.2 yet. It'll be a few weeks. Sorry.

metaskills avatar Jan 24 '18 15:01 metaskills

Any updates? Rails 5.2 is now a rc2. Time to update the Adapter so we can use Rails 5.2 when it is released. Or even better test our Apps before it is released.

juice avatar Mar 29 '18 07:03 juice

Rails 5.2 is released, any idea when we will see a working version?

juice avatar Apr 10 '18 05:04 juice

Any update on 5.2 support, has any progress been made?

benbxyz avatar Apr 23 '18 14:04 benbxyz

+1 to this. Would love to fire up a new 5.2 project with SQL server.

spacerobotTR avatar May 07 '18 17:05 spacerobotTR

+1 Trying to update to 5.2 now.

brentdodell avatar May 09 '18 14:05 brentdodell

@metaskills Are there known issues that prevent the gem from being compatible with Rails 5.2?

I'm working to upgrade an enterprise application and would like to take it to 5.2, but this is the only critical gem that doesn't support it.

I'm happy to assist in testing its compatibility with 5.2, but unsure where to start. Thank you for the great work!

codiemullins avatar May 18 '18 14:05 codiemullins

+1 for Rails 5.2 support. I'm upgrading an ecosystem of apps (15 apps) to Rails 5.2 and one of those is using your gem. Many thanks for your great work!!

Mauro

mauro-ni avatar May 18 '18 15:05 mauro-ni

@metaskills Do you have any updates on Rails 5.2 compatibility? I am currently in the process of updating an old Rails app and this is the only gem that is stopping me from doing that.

BenMcH avatar Jun 20 '18 18:06 BenMcH

Not yet, I do want to work on it but I've been doing some AWS training in my free time in the evenings. I already made the 5-1-stable branch so master can start taking small patches to get us there. Usually these upgrades need a few small tweaks to start the ball rolling towards a logical hit list of other fixes. I'm open to receiving PRs on those. Typically the first one is getting the tests to change the target version to 5.2 and coping with any ActiveRecord test harness changes, if any.

metaskills avatar Jun 21 '18 13:06 metaskills

Thanks for the update! If I get a chance, I'll try to pull down the code and start looking at it, but I'm not sure how much help I would be. If I'm successful, I'll send a PR!

BenMcH avatar Jun 21 '18 15:06 BenMcH

I've made some progress on upgrading to Rails 5.2. I currently only have about 40 tests failing, though it seems to mostly work in use in a real application. Here's my fork, changes are on master: https://github.com/matthewdunbar/activerecord-sqlserver-adapter

matthewdunbar avatar Jul 05 '18 17:07 matthewdunbar

@matthewdunbar don't you want to open a PR here so we can help you? I've made some progress as well, but noticed we have more or less the same changes. It might be a good idea we concentrate our efforts so we don't duplicate work.

wpolicarpo avatar Jul 09 '18 12:07 wpolicarpo

@wpolicarpo It looks like your changes weren't committed yet last time I looked through the network tab, but I like what you have. Its a little more succinct than what I came up with. I did open a PR on this project late last week.

matthewdunbar avatar Jul 09 '18 13:07 matthewdunbar

@matthewdunbar Cool, I haven't seen you PR before, sorry. I pulled some of your changes into my branch and this is what I have so far:

Finished in 396.715748s, 13.4857 runs/s, 39.9127 assertions/s.

5350 runs, 15834 assertions, 28 failures, 60 errors, 5 skips

I'll try to make a list on your PR so we can track our progress there if you don't mind.

wpolicarpo avatar Jul 09 '18 14:07 wpolicarpo

@wpolicarpo Awesome! Thanks for the feedback on this.

matthewdunbar avatar Jul 09 '18 14:07 matthewdunbar

Hi. Are there any updates?

UnConundrum avatar Jul 24 '18 18:07 UnConundrum

Any news on this?

spacerobotTR avatar Aug 22 '18 18:08 spacerobotTR

See here right? https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/653#issuecomment-415142254

metaskills avatar Aug 22 '18 18:08 metaskills

Thank you!

spacerobotTR avatar Aug 22 '18 19:08 spacerobotTR