Created
November 14, 2011 07:11
-
-
Save vivekprahlad/1363427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SportsCar < Neo4j::Rails::Model | |
include Neo4j::Rails::Versioning | |
property :brand | |
end | |
class Driver < Neo4j::Rails::Model | |
include Neo4j::Rails::Versioning | |
property :name | |
has_n(:sports_cars) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment