[Nitro] help with og!

itsme213 itsme213 at hotmail.com
Thu Nov 24 17:53:43 EST 2005


aaargh!

og looks very promising, but i am very frustrated at even getting started. 


-----------
require 'og'

class A 
end

class B
 has_many :as, A
end


#=> error: undefined method `has_many' for B:Class (NoMethodError)
Process ruby exited with code 1

-----------
require 'og'

class A 
end

class B
 property :a, A
 has_many :as, A
end


#=> no error

-----------

What on earth is going on?

perhaps i am doing something very dumb, but have no idea where to look. 

maybe rdoc will help, but i can't even see or build any rdocs.

help!!



More information about the Nitro-general mailing list