<% module_namespacing do -%> class AuthenticationProvider < ActiveRecord::Base has_many :<%= table_name %> <% if Rails::VERSION::MAJOR < 4 -%> attr_accessible :name <% end -%> end <% end -%>