[Rails] Re: Rspec Active Record Problem

2014-09-25 Thread Matt Jones
On Wednesday, 24 September 2014 10:14:02 UTC-4, Ruby-Forum.com User wrote: > > Rspec forum isn't working > > Rspec is having trouble recognizing where method. > > Here's the rspec output: > > NoMethodError: >undefined method `where' for # > # > /apps/rvm/gems/ruby-2.0.0-p481/

[Rails] Re: Rspec Active Record Problem

2014-09-24 Thread Jan Yo
Jason Fb wrote in post #1158388: > Jan, > > That is pretty strange-- but it looks like you're doing something > non-standard and you've gotten yourself into a pickle. > > I notice that the error message says there's no method 'where' on an > instance of an Article. Normally you call where on the cl