こんにちは、鈴木です。 Rails が提供する API の特徴として、引数の指定が柔軟である点が挙げられると思います。 柔軟な引数の指定 例えば、一括代入を許可する属性を指定する attr_accessible メソッドは、以下のように色々な呼び出し方をすることができます。 # 一つだけ指定するパターン. attr_accessible :name # 複数指定するパターン. attr_accessible :name, :email # 複数指定して, さらにハッシュでオプションを指定するパターン. attr_accessible :name, :email, :status, :as => :admin