Solved

Ruby on Rails website showing twice

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

791 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