using string instead of a symbol to access reflections, adjustment for rails 4.2