Sha256: 77419c5676a7ff735908d4dc33682e316bbb32bc987625e78824f104e31b0641

Contents?: true

Size: 268 Bytes

Versions: 28

Compression:

Stored size: 268 Bytes

Contents

class <%= class_name %> < <%= parent? ? options[:parent].classify : "Neo4j::Rails::Model" %>
<% attributes.each do |attribute| -%>
  property :<%= attribute.name %><%= ", :type => #{attribute.type_class}" %>
<% end -%>

<%= timestamp_statements if timestamps? -%>
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
neo4j-1.2.5-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.2.4-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.2.3-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.2.2-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.2.1-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.2.0-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.4-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.3-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.2-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.1-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.0-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.0.beta.3-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.0.beta.2-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.1.0.beta.1-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.0.0-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.0.0.beta.32-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.0.0.beta.31-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.0.0.beta.30-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.0.0.beta.29-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.0.0.beta.28-java lib/generators/neo4j/model/templates/model.erb