Op zondag 4 november 2012 13:44:57 UTC+1 schreef Colin Law het volgende:
>
> On 4 November 2012 12:03, Roelof Wobben <[email protected] <javascript:>> 
> wrote: 
> > 
> > 
> >> From: [email protected] <javascript:> 
> >> Date: Sun, 4 Nov 2012 09:23:09 +0000 
> >> Subject: Re: [Rails] Wierd NomethodError 
> >> To: [email protected] <javascript:> 
> > 
> >> 
> >> On 4 November 2012 08:08, roelof <[email protected] <javascript:>> 
> wrote: 
> >> 
> >> Please don't top post, it makes it difficult to follow the thread. 
> >> Insert your replies at appropriate points in previous message. 
> >> Thanks. 
> >> 
> >> > The only thing I can think of is that output is not created. 
> >> > But that cannot be the reason because there is a function create 
> which 
> >> > contains Ouput.new which is the same as Output.create. 
> >> 
> >> It might help if you were to show us the bit of code generating the 
> >> error. We are not telepathic. At least I am not. Look carefully at 
> >> the error message to find the relevant code. 
> > 
> > 
> > The error message can be found here  : https://gist.github.com/4008123 
> > And the relevant code can be found here : 
> > 
> https://github.com/roelof1967/tamara/blob/master/features/step_definitions/login_steps.rb
>  
>
> That is a different error message to the one you originally posted. 
>
> What is the line 
> messages << message 
> supposed to do.  What is the variable messages? 
>
 
The variable messages is a array containing the all the messages.
The variable message does contain the message. 
I took this part of the Rspec book. 
 
 

>
> Have a look at the Rails Guide on debugging, it will show you 
> techniques that you can use to debug your code and work out what is 
> going wrong. 
>
>  
I will look into it and hope I can find a solution to this problem.
 

> Roelof
>  
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/AGX6YI9R4nAJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to