rails/activerecord/test/models/tree.rb
2015-06-25 14:23:06 +02:00

4 lines
75 B
Ruby

class Tree < ActiveRecord::Base
has_many :nodes, dependent: :destroy
end