BlogHub
收录
作者
关于
before_action 的使用時機
Nic Lin
at
8 年前
ROR 的原則有一項是: 不要重複自己(DRY: Don’t Repeat Yourself) – 撰寫出重複的程式碼是件壞事 那使用 before_action 的話,就可以收納很多重……