Solved

Ruby on Rails website showing twice

Posted on 2012-04-05
3
309 Views
Last Modified: 2012-04-11
Hello,

I am currently following the Ruby on Rails tutorial here: Ruby on Rails Tutorial

In chapter 8, after section 8.3 my ruby website is showing twice.  Meaning my user signup page, home page, and user page are showing twice in the browser.  Prior to section 8.3 I did not have this issue.  Here is a link to the Heroku website where I have my ruby website published, you can see how it shows everything twice: Heroku

I know this is probably a simple solution but I have spent ours double checking my code and looking over everything and still can't figure out what is going on.  Any help would be really appreciated.

Let me know if you need more info.

Thanks.
0
Comment
Question by:navid86
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Expert Comment

by:johanntagle
ID: 37815654
Did you push your code to github as the tutorial recommended?  If so please share your github url so I can browse your code.
0
 
LVL 2

Accepted Solution

by:
navid86 earned 0 total points
ID: 37815904
I did push to github.  I have actually figured out the issue.  I had an extra <%= Yield %> in my layouts/application.html.erb file.
0
 
LVL 2

Author Closing Comment

by:navid86
ID: 37831640
I have figured out the issue on my own.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't get video.js working with firefox 6 913
Ruby script to take single regular expression and search directory 1 553
How do you upgrade Ruby? (Windows) 2 226
Ruby and Rakefile 1 184
I recently rediscovered rails when I needed a holiday project and decided to build a management dashboard for the company where I work.  With it being a project done in my free time, I could focus my time on learning the basics rather than trying to…
Article by: narshlob
If you've ever programmed in Ruby and have come across either a proc or a lambda, you might have been wondering what the difference is between the two and when you would use one over the other. This article will try to explain the difference between…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question