
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
This ruby on rails gem makes it easy to store polymorphic structure information --- parents
, children
, ancestors
, descendants
, ... --- in a neo4j graph database parallel to using ActiveRecord.
All relevant information is stored in your default ActiveRecord database, including the parent-child relationships. But, in addition, the structure information is also stored in a neo4j graph database in order to use its power of fast graph traversing queries.
TODO: Write usage instructions here
Add the gem to your application's Gemfile
:
# Gemfile
# ...
gem 'neo4j_ancestry'
And then execute:
# bash
bundle install
Install the neo4j database db
directory and start the deamon:
# bash
bundle exec rake neo4j:install neo4j:setup neo4j:start
Next, migrate the database in order to add the neccessary tables.
# bash
bundle exec rake neo4j_ancestry:install:migrations
bundle exec rake db:migrate
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Symlink the Gemfile
according to the Rails version you would like to use:
# bash
rm Gemfile Gemfile.lock
ln -s rails3.2.Gemfile Gemfile # for Rails 3
ln -s rails4.Gemfile Gemfile # for Rails 4 (default)
Next, install the dependencies and run the specs.
# bash
bundle install
bundle exec rake neo4j_ancestry:db:test:prepare
bundle exec rake
(c) 2013, Sebastian Fiedlschuster
Released under the MIT License.
FAQs
Unknown package
We found that neo4j_ancestry demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.