Ben Jackson

Devise Integration

Posted by Ben Jackson on November 18th 2010 11:52 AM

Devise integration is now complete, sort of. The gem won't be released until the neo4j gem is up to date with the changes, but the fixes came at a cost of other functionality so we'll have to see when that will happen. This ticket explains what those changes are:
http://neo4j.lighthouseapp.com/projects/15548/tickets/131-changing-....

For now, the gem can be tried directly from Github: https://github.com/benjackson/devise-neo4j. The Gemfile there lists the branch in my neo4j fork that allows all the Devise tests to pass (well, nearly all), which is the branch at https://github.com/benjackson/neo4j/tree/devise.

Installing

To install, checkout the devise-neo4j files from Github. In the devise-neo4j directory, install the dependencies with bundle install.

Running the tests

Run the tests by setting an environment variable called DEVISE_PATH that points to where the devise gem is installed, which you can find with bundle show devise. Then simply run rake.

There is one teeny test still failing that looks like it may be a Rails bug according to the information found when googling for the problem.

  test/integration/lockable_test.rb:46:in `test_unlocked_pages_should_not_be_available_if_email_strategy_is_disabled'
  undefined method `new_admin_unlock_path' for #<LockTest:0x351f0d>

There is this related issue here: https://github.com/plataformatec/devise/issues/issue/174, which may explain it.

You must be a project member to post a new comment.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Neo4j.rb is a graph database framework for JRuby.

It provides:

* Mapping of ruby objects to nodes in networks rather than in tables.
* Storage of ruby object to a file system.
* Fast traversal of relationships between nodes in a hugh node space.
* Transaction with rollbacks support.
* Indexing and quering of ruby objects.
* Integration with Rails

People watching this message