18 Mar '13, 1am

Enumerableからハッシュへ。each_with_object({}){|hoge, result| result[hoge.id] = hoge } とかしなくてよかったんだ……。 / “index_by (Enumera…”

Welcome Register Projects Help About Blog APIdock release: IRON STEVE (1.4) If you have any comments, ideas or feedback, feel free to contact us at APIdock copyright Nodeta Oy 2008-2013 Flowdock - Team Inbox With Chat for Software Developers Check out how the team behind APIdock connects Pivotal Tracker , GitHub and group chat to one workflow.

Full article: http://apidock.com/rails/Enumerable/index_by

Tweets