Solved

Ruby on Rails website showing twice

Posted on 2012-04-05
3
263 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

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…
In Ruby, Call or invoke a API DLL library is easily via Win32API class, win32-api gem or other gems. For general DLL API call, there are quite a few references, some good tips list below: http://www.rubytips.org/2008/05/13/accessing-windows-api-fro…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now