新手问题 Mongoid::Errors::AmbiguousRelationship

sanvi · October 09, 2012 · 1559 hits

我在 Post 里面定义

belongs_to :complete_user, :class_name => "Account", :inverse_of => :tike_posts

在 Account has_many :tike_posts, :class_name => "Post", :inverse_of => :complete_user

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.