Sha256: 37bd231a6268d44b6536925291a8509d8fae0e6b40d1a72e78fc35fd910fc4f8
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
class <%= class_name %> < <%= parent? ? options[:parent].classify : "Neo4j::Rails::Model" %> <% attributes.each do |attribute| -%> property :<%= attribute.name %><%= ", :type => #{attribute.type_class}" unless attribute.type_class == "String" %> <% end -%> <%= timestamp_statements if timestamps? -%> end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
neo4j-1.0.0.beta.19 | lib/generators/neo4j/model/templates/model.rb |
neo4j-1.0.0.beta.18 | lib/generators/neo4j/model/templates/model.rb |