Fix 'association names must be a Symbol' exception in Rails 4
Use the table_name rather than the class name so single-table inheritance isn't broken
Merge branch 'fix-for-single-table-inheritance'