Class: Node

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
ext/testserver/testserver.rb

Class Method Summary collapse

Class Method Details

.rootObject



17
18
19
# File 'ext/testserver/testserver.rb', line 17

def self.root
  Node.find(:first, :conditions => "parent_id is NULL")
end