def scoped_guise_for(association_class_name)
      options = Guise.registry[association_class_name]
      value = name.chomp(options.association_class.name)

      default_scope options.scope(value, :guise_for)
      after_initialize AssociationCallback.new(value, options.attribute)
    end
def scoped_guise_for(association_class_name)
      options = Guise.registry[association_class_name]
      value = name.chomp(options.association_class.name)

      default_scope options.scope(value, :guise_for)
      after_initialize AssociationCallback.new(value, options.attribute)
    end
Specifies that the model is a subclass of a model configured with
 {#guise_for} specified by `class_name`. The name of the calling class must
 be `<value|parent_class_name>`.

 Given the following configuration with `guise_for`:

 ```ruby
 class Role < ActiveRecord::Base
   guise_for :User
 end
 ```

 The following call to `scoped_guise_for`:

 ```ruby
 class DeskWorkerRole < Role
   scoped_guise_for :Role
 end
 ```

 Is equivalent to:

 ```ruby
 class DeskWorkerRole < Role
   default_scope -> { desk_workers }

   after_initialize do
     self.title = "DeskWorker"
   end
 end
 ```

 @param [Symbol, String] association_class_name name of the superclass
   configured with {#guise_for}.