Fix association_relation_class for rails 3.2