undefined local variable or method `reflections` in rails 4.1.4