[Nitro] Og 1-n relation alias bug
George Moschovitis
george.moschovitis at gmail.com
Sun Aug 14 03:40:10 EDT 2005
Hello Kristof,
thanks for the report, here is a workaround till this situation is improved:
class Book
property :title
belongs_to :owner, Person # this creates a problem?
end
class Person
property :name, Og::VarChar(128)
has_many :books, Book, :foreign_name => :owner
end
> George, while you're into it, please try to delete any of the plain
> ..
> NoMethodError: undefined method `store' for nil:NilClass
Well you cannot create an opject w/o properties. Perhaps a better
error message is needed though.
regards,
George.
--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com
More information about the Nitro-general
mailing list