enPiT BizApp AIIT ビジネスアプリケーション演習 2日目
enPiT BizApp AIIT ビジネスアプリケーション演習 2日目
プログラム概要
http://aiit.ac.jp/enpit/program.html
- yukio_saitoh
- 1361
- 0
- 1
- 2
ひまじん@テスト期間
@himajin315
before_action :set_person, only: [:show, :edit, :update, :destroy] rails 4.0から? #enpit_aiit
2013-09-03 13:59:34
斉藤之雄 / 社会福祉士 😺🗯
@yukio_saitoh
80 x 36 ではなく、120 x 40 くらいのターミナル表示を希望したい。 #enpit_aiit
2013-09-03 14:07:17
ひまじん@テスト期間
@himajin315
if @person.save format.html { redirect_to @person, notice: 'Person was successfully created.' } 保存が成功したらpersonに文字列を表示させる。 #enpit_aiit
2013-09-03 14:07:57
斉藤之雄 / 社会福祉士 😺🗯
@yukio_saitoh
バリデーションチェックは必要最低限しか搭載していないコード内容なのでシンプル。 #enpit_aiit
2013-09-03 14:08:30
ひまじん@テスト期間
@himajin315
Gemfileにpgを入れて、bundle install --without production をする。 #enpit_aiit
2013-09-03 14:55:03
斉藤之雄 / 社会福祉士 😺🗯
@yukio_saitoh
bundle install --without production でバンドル(プロダクションではなくステージング用)インスコ #enpit_aiit
2013-09-03 15:15:55
ひまじん@テスト期間
@himajin315
Gemfile.lock とは?:バージョンを固定化するためのもの。bunlde install すると書き換えられる。 #enpit_aiit
2013-09-03 15:16:25
斉藤之雄 / 社会福祉士 😺🗯
@yukio_saitoh
再び heroku push する。 git push heroku master #enpit_aiit
2013-09-03 15:17:18