【文件属性】:
文件名称:rails-dash-ws2014
文件大小:53KB
文件格式:ZIP
更新时间:2021-06-29 17:35:46
Ruby
RailsDash SU 9.1.2015
历史
rails new SongBook
ls
git init
git add .
git commit -m "new railsapp"
ls
open http://localhost:3000
cd SongBook/
rails generate scaffold Song title:string duration:decimal genre:string
git add .
git commit -m "rails generate scaffold Song title:string duration:decimal genre:string"
subl .
git status
rake db:migrate
git status
subl db/schema.rb
rake db:rollback
rake db:mi
【文件预览】:
rails-dash-ws2014-master
----README.MD(1KB)
----.ruby-gemset(6B)
----.ruby-version(5B)
----SongBook()
--------log()
--------bin()
--------vendor()
--------config()
--------db()
--------Rakefile(249B)
--------test()
--------app()
--------README.rdoc(478B)
--------Gemfile(2KB)
--------Gemfile.lock(5KB)
--------.rspec(30B)
--------spec()
--------.gitignore(474B)
--------lib()
--------public()
--------config.ru(153B)