profile

Categories

Tags

Welcome!

You'll find my course content and collaborative discussion about technology.

I teach as an adjunct faculty in the Computer Information Systems department at Spokane Community College

Email

kblake DOT scc AT gmail DOT com

Presentations/Interviews

RubyLearning.com interview
Course Technology - Ruby on Rails Presentation



New Rails App

April 8th, 2008 |

Did everyone get a Rails app up and going? I’d like to start in on ActiveRecord and then how we apply to a web app. Does that sound cool?

5 Responses to “New Rails App”

  1. Sara Says:
    I did. I re-created the one we did in the kick-off meeting at home. I also added more fields to it. It is pretty cool!
  2. Lisa Says:
    All is fine at first. Then, when I go to http://localhost:3000/movie I get "Internet explorer cannot display this page." Second question: From the e-text editor, how do I open the file to access the controller? Thanks again for the help.
  3. Karmen Says:
    Lisa, the URL should access movies (plural) not movie (singular). From your editor, just do File... Open... and navigate to the controller file.
  4. Lisa Says:
    Where is the controller file created? I can't find it anywhere on my computer. Also, it access movies, but I named the database movie. Is that correct? Thanks Karmen.
  5. Karmen Says:
    The controller is accessed via (where ever you created your rails ap)\app\controllers\. If you generated a scaffold using movie, then it will create a controller called movies_controller.rb which is accessed http://localhost:3000/movies in the browser."

Sorry, comments are closed for this article.