Re: [rspec-users] Rails validation spec fails (but code works in development env)

2012-07-04 Thread Gintautas S.
I came across the same issue. I was trying to accomplish exactly the same thing like the original poster (make sure that association is with an actual record in the DB). I came across the same issue too, and after a little debugging the core the solution is to use Proc. This has to do with load

Re: [rspec-users] Rails validation spec fails (but code works in development env)

2011-08-23 Thread Vito Botta
Hi there, di you ever find the answer? I am having the same issue now, really weird. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users