サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
体力トレーニング
markconnell.co.uk
Rails 3 introduced a new routing DSL that is a little bit different from the Rails 2 version. This quick guide covers a few examples of the new routes, and how they compare to Rails 2. Simple routes Create a basic route that will respond to http://localhost:300/hello_world # Rails 2: map.connect 'hello_world', :controller => 'posts', :action => 'index' # Rails 3: match 'hello_world' => 'posts#inde
このページを最初にブックマークしてみませんか?
『markconnell.co.uk』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く