サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
パリ五輪
jonathanjulian.com
04 April 2010 A really great modification was introduced in Rails 2.3.3 - and while everyone clamored about JSON encoding speeds and C vs Ruby implementations, the blogosphere overlooked the clean separation of responsibility that was introduced. In the “old days”, you’d override to_json in your model class to provide a JSON implementation of your model. Then in your controller, render :json => @m
このページを最初にブックマークしてみませんか?
『jonathanjulian.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く