Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Ruby on Rails website showing twice

Posted on 2012-04-05
3
Medium Priority
?
328 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

715 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