self.class.represented_object_class.reflect_on_association might be nil
Merge pull request #18 from goncalvesjoao/master

self.class.represented_object_class.reflect_on_association might be nil