Skip to content
ey-roulette
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app lots of html
config switching to sqlite3
db first commit
doc first commit
lib/tasks first commit
public Edited public/_index.html via GitHub
script first commit
test first commit
vendor/plugins
.gitignore first commit
.rvmrc switching to sqlite3
Gemfile switching to sqlite3
Gemfile.lock switching to sqlite3
README first commit
Rakefile first commit
config.ru first commit
roulette.tmproj lots of html

README

== ROUlette

1. Install rails 

2. Configure mysql connection and create db

3. Create Game model
rails generate model Game

4. Create migration
add to generated migration one field:
t.integer :number

rake db:migrate

5. Create controller
rails generate controller Games

and put here "  respond_to :html, :xml, :json"
to support different output types

6. Configure routes:
  resources :games
  root :to => "games#index"

7. Create view

8. Create helper to convert -1 value yo '00' string.

9. run 'rackup'
Something went wrong with that request. Please try again.