# Page Display Error

**URL:** <https://www.ruby-forum.com/t/page-display-error/132917>\
**Category:** Rails\
**Created:** [March 25, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/page-display-error/132917 "2008-03-25T20:07:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dc4da7/32.png) [@shaiss](https://www.ruby-forum.com/u/shaiss)\
**Post date:** [March 25, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/page-display-error/132917/1 "2008-03-25T20:07:53Z")

</div>

Hi Everyone, this is my first post. So I’ll try to be as detailed as  
possible.

Dev Machine: OSX 10.5.2  
Ruby: 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]  
Rails: 2.0.2  
Using MAMP 1.7.1 with the following settings  
PHP: 5.2.5  
MYSQL : 5.0.41  
Using CocoaMySQL .7b5  
TextMate 1.5.7

I’ve built several sites using basic HTML, PHP, ASP, ect, but this is my  
first jump into web2.0 development.

I’m learning ruby on rails and am going through some of the tutorials.  
Some tutorials work fine, ei.

> **[Tutorial: Beginning AJAX with Rails 2.0](http://railsonedge.blogspot.com/2008/03/tutorial-beginning-ajax-with-rails-20.html)**
>
> Today, I'm going to go over a quick tutorial of some basic AJAX functions. Rails has a great implementation with AJAX right out of the box,...

Others don’t. They say they are written for rails 2.+ and ruby 1.8.6  
but the result I get is nearly universal.  
Take the example below from

> **[Rails 2.0 and Scaffolding Step by Step](http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html)**
>
> Rails 2.0 step by step. Part 2 is here Ruby on Rails 2.0 was released by the Rails core team on Friday, December 7th . There were quite a fe...

I get to the step after creating the migration file  
“001\_create\_movies.rb”. I run rake db:migrate, verify with cocoamysql  
that the tables and fields are created properly. They do so I run ruby  
script/server.

The server loads up as expected [http://localhost:3000](http://localhost:3000). But when I  
navigate to [http://localhost:3000/movies](http://localhost:3000/movies) I DO NOT get the expected  
results.  
I am missing the description field and one\_sheet\_url field. I followed  
the instructions to the letter up to that point. Again, this similar  
result has happened with other tutorials so I think the error is  
somewhere on my end.

This is what I should have:  
 ![](http://bp0.blogger.com/_fnfsff2gWFY/R2PwNTuWBmI/AAAAAAAAAA8/U7wskSum5z0/s1600/movies1.png)  
 ![](http://bp0.blogger.com/_fnfsff2gWFY/R2PwNTuWBnI/AAAAAAAAABE/3fzWebHr_ic/s1600/movies2.png)  
 ![](http://bp1.blogger.com/_fnfsff2gWFY/R2PwNjuWBoI/AAAAAAAAABM/XiEST0Z9cxI/s1600/movies3.png)

I case the pics don’t come up above:  
[![](https://1.bp.blogspot.com/_fnfsff2gWFY/R2PwNTuWBmI/AAAAAAAAAA8/U7wskSum5z0/s1600/movies1.png) ](https://1.bp.blogspot.com/_fnfsff2gWFY/R2PwNTuWBmI/AAAAAAAAAA8/U7wskSum5z0/s1600/movies1.png)  
[![](https://1.bp.blogspot.com/_fnfsff2gWFY/R2PwNTuWBnI/AAAAAAAAABE/3fzWebHr_ic/s1600/movies2.png) ](https://1.bp.blogspot.com/_fnfsff2gWFY/R2PwNTuWBnI/AAAAAAAAABE/3fzWebHr_ic/s1600/movies2.png)  
[![](https://1.bp.blogspot.com/_fnfsff2gWFY/R2PwNjuWBoI/AAAAAAAAABM/XiEST0Z9cxI/s1600/movies3.png) ](https://1.bp.blogspot.com/_fnfsff2gWFY/R2PwNjuWBoI/AAAAAAAAABM/XiEST0Z9cxI/s1600/movies3.png)

But I get this:  
 ![](http://i134.photobucket.com/albums/q118/shaiss/Picture3.png)  
 ![](http://i134.photobucket.com/albums/q118/shaiss/Picture4.png)  
 ![](http://i134.photobucket.com/albums/q118/shaiss/Picture5.png)

I case the pics don’t come up above:  
[![](https://i134.photobucket.com/albums/q118/shaiss/Picture3.png) ](https://i134.photobucket.com/albums/q118/shaiss/Picture3.png)  
[![](https://i134.photobucket.com/albums/q118/shaiss/Picture4.png) ](https://i134.photobucket.com/albums/q118/shaiss/Picture4.png)  
[![](https://i134.photobucket.com/albums/q118/shaiss/Picture5.png) ](https://i134.photobucket.com/albums/q118/shaiss/Picture5.png)  
Here is the output from terminal: [Parked at Loopia](http://pastie.caboo.se/170436)

I’ve tried the page in safari 3.1 and firefox 3b4. Like I said this  
only happens with certain tutorials I go through. I’m a noob at this so  
its frustrating not understanding why this is happening. If anyone can  
help clear this up for me I would greatly appreciate it. Thank you for  
your time,  
Shai
