The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
How To Create A Ruby On Rails Blog - Part Two

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Huw Collingbourne

Posts: 1254
Nickname: huw
Registered: Nov, 2006

Huw Collingbourne is Director of Technology for the Ruby In Steel IDE
How To Create A Ruby On Rails Blog - Part Two Posted: Jun 26, 2007 12:17 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Huw Collingbourne.
Original Post: How To Create A Ruby On Rails Blog - Part Two
Feed Title: Ruby In Steel
Feed URL: http://www.sapphiresteel.com/spip.php?page=backend
Feed Description: Developers' Blog of the Ruby In Steel and Amethyst (Adobe Flex) IDEs for Visual Studio
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Huw Collingbourne
Latest Posts From Ruby In Steel

Advertisement
Generate The Comment Model
First, create the Comments model.
In the Generate window, select model as the Script Action, enter comment as the Script Value, ensure that the Generate radio button is selected and click Go.
After a few moments some more files will be added to the Solution Explorer.
Load into an editor the file app/models/comment.rb.
Edit the class definition to the following (i.e. this should now be the entire contents of this file)…
class Comment
Open (...)

Read: How To Create A Ruby On Rails Blog - Part Two

Topic: Trying out Indi Previous Topic   Next Topic Topic: Peel Slowly and See

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use