Restore the old Gem behaviour of using the table name to generate the ActsAsModule name. This is because the class name might containing modules and so ActsAsModuleName::ClassName does not work (ActsAsTableName would.)
Remove duplicate functionality.
Fix wrong variable reference.
Fix after class reorganisation
Merge branch 'lowjoel-paranoia-compatibility'
Merge branch 'lowjoel-simple_form-compat'
Merge branch 'lowjoel-active_enum-compat'
Merge branch 'lowjoel-fix-modules'