-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support Rails 5 #9
Comments
Latest: I've made a branch "activerecord-5.0", which includes AR 5.0 in the test matrix, but aside from that haven't changed anything. And, unsurprisingly, it fails. See https://travis-ci.org/SchemaPlus/schema_plus_core/builds/124089884 |
...and again, if there's anybody out there who has the time to look into this, that'd be great. I'd be happy to help out of course. |
I've been looking in to using this with AR 5 and I've run into the following problems so far with a Postgres database:
The first one is easy to fix by changing the signature of The second one will require some additional coding to have a special case for |
I've opened #12 for the first issue with |
@md5 Thanks -- you're a hero! |
As discussed above and briefly in #12 and in my earlier comment, AR5 now has an I'm not sure what the right fix is for this, but this seems as good a place to discuss as any. |
I took a look at I think the thing to do would be to provide an override similar to the override of Then schema_plus_core's (re)dumper at
t.index , and the code at
Does that all seems sensible? Speaking of materialized views, there's an outstanding issue #6 which should probably be dealt with; and we should see what happens with them and their indexes in schema_plus_core + AR 5. |
Yes, that seems sensible. |
BTW, the problem in #6 doesn't seem to be related to materialized views, but rather to query-defined tables (I'm not sure what they're officially called). The materialized view implementations I'm familiar with use |
@ronen Just wanted to follow up on this and let you know that I haven't had time to look into this further. For the time being, I'm just using |
Any news? I saw that #14 has been merged in schema_plus_core |
@rhymes This issue tracks all the currently updated gems: |
Creating the issue...
...if anybody out there in github-land is interested in working on Rails 5 support for SchemaPlus, please let me know. I myself am a bit swamped these days so would welcome a collaborator stepping in.
(I haven't even looked into whether this would be hard or trivial.)
Thanks!
The text was updated successfully, but these errors were encountered: