2012-07-28から1日間の記事一覧

Railsメモ

忘れた頃にみる用。3.2.3。 プロジェクト $ rails new hoge -d mysql コントローラー $ rails g controller hoge モデル $ rails g model hoge field:type [...] 型一覧 integerdecimalfloat stringtextbinary datedatetimetimestamp timeboolean カラム名の…