Support rails4 reflections API