On 22 October 2012 15:56, Drew Davis <[email protected]> wrote:
> Colin Law wrote in post #1080669:
>> On 22 October 2012 14:12, Drew Davis <[email protected]> wrote:
>>>
>>> This is actually a slightly different version of the tutorial.  I'm on
>>> section 5.3 Layout links and the user sign up page.
>>
>> I can't see any reference to your test layouts_spec.rb in that
>> section,
>> http://ruby.railstutorial.org/chapters/filling-in-the-layout#sec-layout_links
>>
>> Colin
>
> I'm having a hard time finding the Ruby on Rails 3 Tutorial online.

I believe the link I provided is to that tutorial.

>  Is
> there a different avenue of trouble shooting for this error?  The local
> variable in layouts_spec.rb is layouts_path and I've looked back through
> the book for the layouts_spec.rb file but have found nothing.
>
> Should I just remove this file or move it to a different location?
>
> Is this a necessary file?  I removed it and the page still functions and
> the tests pass.
>
> I'm just curious where the file came from because I assume it was auto
> generated and if removing it will be a problem or cause errors later on
> down the line?

Well I certainly have not idea where it came from.  Are you using git
(or similar) for version control of your code?  If not then you should
be.  Then you would know when it was created.  The file certainly
looks like something you do not want since you have no model called
Layout, and I suspect it would be a bad idea to have one.  Just delete
it and carry on.

Colin

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to