rbCAS/casino-activerecord_authenticator — pull request #14 by moustafasamir (2014-08-09 16:18:17+00:00)
Title: Fix Single table inheritance problem

This PR is to disable STI in CASINO model because when STI is used in the client application, the authenticated model that is created at runtime in CASINO expects to find the subclass but it doesn't find it.

Example: users table with a type column with the value "Customer" in any record
Error: ActiveRecord::SubclassNotFound (The single-table inheritance mechanism failed to locate the subclass: 'Customer'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite CASino::ActiveRecordAuthenticator::User.inheritance_column to use another column for that information.)

So this PR is just to disable it.