-
Notifications
You must be signed in to change notification settings - Fork 565
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 5.2 #636
Comments
No work has been done for 5.2 yet. It'll be a few weeks. Sorry. |
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. |
Rails 5.2 is released, any idea when we will see a working version? |
Any update on 5.2 support, has any progress been made? |
+1 to this. Would love to fire up a new 5.2 project with SQL server. |
+1 Trying to update to 5.2 now. |
@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! |
+1 for Rails 5.2 support. Mauro |
@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. |
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. |
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! |
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 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 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 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:
I'll try to make a list on your PR so we can track our progress there if you don't mind. |
@wpolicarpo Awesome! Thanks for the feedback on this. |
Hi. Are there any updates? |
Any news on this? |
See here right? #653 (comment) |
Thank you! |
Signed up as a $50/mo backer, given that this gem is important for my freelance work. Hope that helps a little to keep things going. |
@thomasfedb We're 3 patr(e)ons already! Far from the $3k target though :( If anyone else loves this gem and wants to join us: https://www.patreon.com/metaskills/overview :) |
+1 on this. Important to update the gem! |
Just a quick note here: I've been using I'd appreciate If anyone is interested in trying |
@wpolicarpo to clarify, using the master branch with a Rails 5.2 project? |
We are using the master branch for a few weeks now on some smaller projects but in our production system. We want to use it in our biggest Project, but we cannot deploy without working tests. It looks like applying fixtures in tests is not working. |
Exactly, Rails 5.2. Could you tell us what is not working for you? Can you leave a comment in #662 and maybe I can help you? |
@wpolicarpo what's the status on this? Do you know by chance an approximate day of release for 5.2 ? |
@wpolicarpo understood. Using the master branch will work with 5.2 with no issues for the time being ? I have a production app, but it's not that serious, it's only for querying info in the background... |
Just a reminder that pushing code to the master branch of this repo means it should have a high standard of QA. For example a checklist of things would be a) a public pull request, even if short lived b) tests passing. |
I have a reasonably big application running Thanks for that. I will try to fix |
I checked the link and now there's only two. Is the target $3k per month? I find the page a bit thin on details where these. funds are going, the purpose (not 5.1 as it says under the goals heading). And then a brief post every week or two will give greater confidence that this is actually active and real. None the less I have signed up and represent 50% of the funding to Patreon at this time. With this new found great power I'd like to discuss new priorities around that JDBC bit ... 😏 |
@wpolicarpo i found a bug i think with 5.2. Even after specifying in an initializer:
Edit_1:
I had to manually add those downcase and monkey patch it. However i don't know if this belongs in this thread or as an issue in the other gem library. What do you think? |
@tommyalvarez since ActiveRecord doesn't support composite PKs by default, I don't think we should treat this here. It's more likely that you have to check with that gem to see what they can do in this case. |
Agreed. I've always taken that perspective. Easier for them to support patches on each adapter as part of their extension gem. |
Thanks for the work on this project. Looking forward to using Rails 5.2 and SQLServer. Status Update? |
Status Update? |
DrCool2, if it helps, the master branch works with 5.2, so if you define the Gemfile like this, you'll be ok: |
@metaskills I have fixed all issues for 5.2 changes and all tests are passing again. Do you think we can release something soon? |
@jbwl can you open an issue with an example so I can attempt a reproduction? |
@wpolicarpo I tried the newest code from master. We have this option set in our adapter model We see this when we start our rails test:
|
@juice can you open an issue describing the columns types of |
@wpolicarpo I created a rails project with one table and one field. https://github.com/juice/mssql-test execute: rails test I hope you can help use with this one. |
Hey @wpolicarpo, would be keen to know where things are up to. Can you update us? |
@thomasfedb I am waiting for @metaskills to release a new version. For now, people can point their projects to |
Gee I hope you can get thru it pretty soon, I've just realized that latest version of redmine is waiting for rails 5.2 support too...
see: http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Supported-database-back-ends |
@wpolicarpo Added you to ruby gems as a gem owner to help. |
Thanks, @metaskills! I have released For those waiting for the final |
I upgraded from 5.1.6 to master an hour ago, will update to 5.2.0.rc1 right now :) Thank you! |
updated from rails 5.1.6 to rails 5.2.2 and activerecord-sqlserver-adapter 5.2.0.rc1 without issue. Thanks! |
Final 5.2.0 was released. |
The gem no longer works for ruby on rails 6.0. I get ruby version 2.6.3
|
@dwood-somniainc it hasn't been tested with 6.0 yet and is always pinned to a major Rails version. Just like this issue was opened, we need a Rails 6.0 issue and somebody to issue some tests on it nudge, nudge ;) Edit: there is #683 - please refer to that issue |
While installing apartment ...this error occurs |
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?
The text was updated successfully, but these errors were encountered: