How not to create a custom renderer in Rails