Ruby5をひたすら翻訳する日記

海外で働きたい欲が高まった海山はついに強硬手段に出た。自分だけのためにRuby5(http://ruby5.envylabs.com/)翻訳し続けます。おかしなところは、適宜指摘大歓迎です!><

Episode #307 - September 21st, 2012

http://ruby5.envylabs.com/episodes/311-episode-307-september-21st-2012

Yell 1.0.0

https://github.com/rudionrails/yell

  • 出力用のライブラリ
  • 複数のアダプタに対応しているのがすごいところ。stdout, datefile, syslog, Graylog2, や自分で書いたものとか

Complex Has Many Associations with ActiveRecord

http://www.artellectual.com/posts/complex-has-many-associations-with-activerecord

  • 複雑なhas_manyの関係をActiveRecordで表現することについてのブログ記事
  • has_manyのカスタマイズ方法

A fireside chat about optional parentheses

http://blog.mojotech.com/post/31812700196/a-fireside-chat-about-optional-parentheses

  • ()カッコを付ける場合と付けない場合についてのブログ記事
    • 式(expression)と文(statement)に関する考え
  • つまりは、メソッド呼び出しの時は、引数がなくてもカッコを付けるべき
    • カッコを付けることでメソッドであるということを表現できるから

LearnRubyAndRails.com

http://www.learnrubyandrails.com/
RubyRailsに関するチュートリアルやスクリーンキャストなどをまとめたサイト

From Lisp to Ruby

http://patshaughnessy.net/2012/9/18/how-ruby-borrowed-a-decades-old-idea-from-lisp

  • Rubyのクロージャーの概念について?
    • 言語仕様に関する細かい考察が書いてある感じ…?
  • "Ruby Under a Microscope."という本

StrongParameters

https://github.com/rails/rails/commit/c49d959e9d40101f1712a452004695f4ce27d84c

  • DHH氏がRails EdgeにStrongParametersを追加した