-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update for activegraph #20
base: master
Are you sure you want to change the base?
Conversation
using #new (e.g. in #create controller methods)
I think I have fixed problem 2). The force_retrieve_#{column} callback gave back a store path even if the identifier (file) was nil (i.e. when no file was uploaded) this resulted in the store path without a filename being returned, which caused multiple errors. I've fixed it by checking #{column}_identifier for nil before retrieving from the store. |
@hng Great!. Let's GitHub actions as CI so we have here automated builds. You can look up how activegraph is set up for actions if you need to. And yes we should rename the gem. Once you do that I can rename the github project as well. |
I've done the renaming. I've also added the activegraph github action for tests. One test is failing and it is connected to the orce_retrieve_#{column} problem I've described above. We need to figure out why this test was added and I've it can be deleted or whether we need to fix something. |
update_column test
I think this should be ready to merge now. As the previous version didn't seem to work (at least not for me) there is probably not a lot to loose. Some caveats:
TODO for maintainers:
|
Any action on this? Would love to use it. |
@weedySeaDragon I'd love to help getting this merged. Pinging @klobuczek We've been using my fork for a year now and had no problems so far. |
I forked your fork @hng . I just needed a version of the gem for ruby 3+ and neo4j 4+. FYI I had to change the DatabaseCleaner w.r.t. the constraints and indexes to deal with neo4j 4+ so that the tests would pass. I added a wee bit of text to the README - mostly to have things documented for myself. :-) Glad to know it's been working well. I now have it incorporated into a site I'm just starting, so haven't yet had the chance to put it to use. Will before long, though. |
WIP:I've started updating the gem to use the activegraph gem. This worked out fine so far. All tests are green.However I had and still have some problems with integration into a rails app, I hope I may get some help here:
Some other questions:
Would be great to get this forward! This would close #19