コンポーネント

コンポーネントとは、コントロールとテンプレートのセットのこと。
コンポーネントを汎用的に使うためには、componentsディレクトリにモジュール名をつけて、
コントロールとテンプレートを置く。

components/my_test/abc_controller.rb
components/my_test/abc/xxx.rthml

class MyTest::Abc < ActionController::Base
  uses_component_template_root

  def xxx
  end
end