2009年7月18日 星期六

delegate

Rails delegate method


那個 :to => :user 其實是由customer object 再去找 user 的 instance method
所以其實可以在 overwirte 掉做其他的處理

沒有留言: