ok, I've officially decided that gitorials ROCK! That made it extremely easy to find the issue.
I had has_many :tasks instead of has_many :projects in the user.rb. woops! Thanks! On Feb 25, 9:49 am, Bryan Larsen <[email protected]> wrote: > One nice thing about the tutorial being git based is that you can use a > computer to find the differences. > > git clone git://github.com/bryanlarsen/agility-gitorial.git > cd agility-gitorial > git checkout gitorial-055 > diff -w -r --unified app/ \ path/to/your/agility/app/ > > If you don't find any differences, it's certainly possible there's a bug > in the tutorial. > > Bryan > > > > Chris Booth wrote: > > I'm following through the agility tut (great so far!) and I've run > > into an issue on the Project Ownership section that I can't figure > > out. I've done all the work up through gitorial-055, and now I'm > > getting an error when I try to open the root page (localhost:3000). > > > You have a nil object when you didn't expect it! > > You might have expected an instance of Array. > > The error occurred while evaluating nil.empty? > > > happens on line #27 (the <collection:projects with...> line) > > > If I comment this line out, the screen opens fine (of course without > > the project list) > > > The first stack line is: > > .../taglibs/rapid_generics.dryml:34:in 'collection' > > > I've checked all the code again in this section to make sure that I > > haven't mistyped anything, and I don't see anything out of sorts > > (course I'm not perfect!). > > > Any ideas? > > > I'm running ruby 1.8.7, rails 2.3.5 and hobo 1.0.0 > > > Thanks! -- 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.
