using active support core_ext and inflector instead of all the methods