With Instructables you can share what you make with the world and tap into an ever-growing community of creative experts.
share step-by-step photos with text instructions
share one or more photos in one step quickly and easily
share your how-to video
Have you ever seen an website that was so cool and interactive you immeditaly wonderded "How did they do that?". Well I am going to show you one way ...
"Don't repeat yourself", this statement is typically followed by a "What?"...then you repeat "Don't repeat yourself".One of the main principles of Rub...
First make sure you are not running any other web server such as IIS. If you are shut that down now. Now start InstantRails.exe It will probally as...
A bit of a background on how Ruby on Rails actually works. Ruby on Rails works using a MVC structure. That is Model, View, and Controller. The Mode...
First lets create a rails app Open a ruby window by using InstantRails--I icon on top left--Rails Applications--Open Ruby Consolw Window
In your newly opened console window type : rails comment
Now we make the controller.Navigate to the new directory: cd commentNext type: ruby script/generate controller Comments
Now we generate a new model called Post. This is nearly identical to the last one.Type: ruby script/generate model Post
Go in your explorer window to --rails_apps--comment--db--migrate Open the file 001_create_posts.rb It should open with SciTE, if it does not you ma...
Here we will add the Name and Comment fields.Under the line that starts create_table insertt.column :name, :stringt.column :comment, :textSave file an...
Quick steps to find what your database should be called.Go to the config folder and open the database.yml file with SciTE.In the first section after t...
Now in the InstantRails command window start apache. You may have to unblock this at your firewall. Next go to --I icon--Configure--Database(via PhpM...
In the webpage find the box titled Create New Database and fill in the name of the database we need. Here it is : comment_developmentAccpet the defau...
Open a new console window (you should now have 2 open).And we will start the server.First Navigate to the comment directory by cd commentNow input: ru...
Now we want to set up the controller for the server. Go to --app\controllers and open the comments_controller.rb file in SciTE
In SciTE edit the controller by addingscaffold :postright in the middle.
In your first console window type rake db:migrateThis will prep the files and load them for viewing.
Open your web browser to http://localhost:3000/comments and see how it looks.
Tag files as:
Posted:Apr 4, 2007
Display messages from twitter on the small screen
Create Google Sketchup files that can be printed on a 3D printer
How To Find the Cheapest Web Hosting that Works for You
BASIC TUTORIAL ON ARTIFICIAL INTELLIGENCE MARKUP LANGUAGE (AIML) VIA NOTEPAD
Creating Bookhuddle.com, a website for discovering, organizing, and sharing book inform…
2006-05-02 Instructables is hiring!
Retrieve Recent Instagram Images from Geographic Locations
Halloween Photo manipulation using Pixlr
Build your own Arduino - Bare Bone System
Multiple Blinking LED on the Arduino
The Electrodog Show
Download our new apps for iOS and android!
PDF DownloadsAs a Pro member, you will gain access to download any Instructable in the PDF format.
You also have the ability to customize your PDF download.