radar/forem — pull request #329 by kot-begemot (2012-11-10 12:33:28+00:00)
Title: Admin 

Recently i faced a problem, trying to specify "Admin" as Forem.user_class.
the error i got was something

Undefined method 'scope' for Forem::Admin module.

The solution I end up with is following:

String representing constant name should contain TopLevel reference.
In order to keep backward compatibility, class_name_string method was implemented.

Tests are added.

Check out commit.