version include rails4

 ::ActiveRecord::VERSION::MAJOR >= 3 #rails 4 will be include
fix <pre>ActionView::Template::Error (undefined method `set_table_name' for ..</pre>