Solved

Ruby on Rails website showing twice

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

943 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

19 Experts available now in Live!

Get 1:1 Help Now