A simple Ruby on the Rails Database app (dictionary)

I talked about installing Rails on Ubuntu Server before here. This is a simple rails dictionary application. It’s really simple, and requires no code. Obviously not particularly “featureful”.

1. Create a new rails project:

rails new nihongo

2. Create a dictionary database for words:

cd nihongo
rails generate scaffold Word word:string definition:string tags:string
rake db:migrate

3. Start the server

rails server

4. Use you application:

Go to http://localhost:3000/words in a web browser.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>