エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Play! - Step By Step Tutorial その2 〜Fixtures〜 - A Memorandum
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Play! - Step By Step Tutorial その2 〜Fixtures〜 - A Memorandum
Fixtures Playではエンティティの初期データ作成のために Fixtures という仕組みが提供されている。Rail... Fixtures Playではエンティティの初期データ作成のために Fixtures という仕組みが提供されている。Rails と同様。test/data.yml に以下の YAML ファイルを用意。 # Test data User(bob): email: bob@gmail.com password: secret fullname: Bob isAdmin: true User(jeff): email: jeff@gmail.com password: secret fullname: Jeff Post(firstBobPost): title: About the model layer postedAt: 2009-06-14 author: bob content: > The model has a central position in a Play! applica