Ops. Sorry. I forgot to bump the version-specs in the Gemfile :) Conclusion is that pre19 doesn't have children in models pre21 does, but you probably already knew that, Domizio.
Let me instead tell you how much I appreciate your hard work on getting hobo ready for rails 3. Thanks! ~Ronny On 27 Nov, 00:19, Spiralis <[email protected]> wrote: > The job model is of course defined, and when commenting out the > children line the app works as expected. > > On 27 Nov, 00:18, Spiralis <[email protected]> wrote: > > > > > > > > > Hi, > > > I am getting: > > > undefined method `klass' for nil:NilClass > > > when I add children specification in my model. The file looks like > > this: > > > class Artist < ActiveRecord::Base > > > hobo_model # Don't put anything above this > > > fields do > > name :string > > #... > > timestamps > > end > > > has_many :jobs > > has_many :customers, :through => :jobs, :uniq => true > > > children :jobs > > ... -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
