added custom templates for ActiveResource & GenericAR models