Sha256: f62a899e7deb4d0c014eb1189fc2c9a2b0c84f12c31e34844df148053400f2fd
Contents?: true
Size: 240 Bytes
Versions: 2
Compression:
Stored size: 240 Bytes
Contents
class Topic < ActiveRecord::Base include Neoon::Node neoon do |c| c.property :name, :index => true c.property :slug, :index => :unique do "#{self.id}-#{self.name.underscore}" end c.property :created_at end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
neoon-0.0.5 | spec/app/models/topic.rb |
neoon-0.0.4 | spec/app/models/topic.rb |