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:
Create Google Sketchup files that can be printed on a 3D printerby Hammock Boy
Display messages from twitter on the small screenby adunn
BASIC TUTORIAL ON ARTIFICIAL INTELLIGENCE MARKUP LANGUAGE (AIML) VIA NOTEPADby theseventhsage
Retrieve Recent Instagram Images from Geographic Locationsby setherickson
How To Find the Cheapest Web Hosting that Works for Youby ClintonKenny
Halloween Photo manipulation using Pixlrby DarkRubyMoon
Creating Bookhuddle.com, a website for discovering, organizing, and sharing book inform…by Bookhuddle
Build your own Arduino - Bare Bone Systemby DrNicker
How to Make LEDs Flash to Music with an Arduinoby Hyrulian
Easy Mac Wallpaper Downloaderby TXTCLA55
Download our new apps for iOS and android!
©Copyright 2013 Autodesk Inc. All rights reserved.
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.