Using the suggestions in ccocchi/rabl-rails#88 (comment) I was able to resolve my problem I described in ccocchi/rabl-rails#88 (comment) but I needed few customizations to be made. Following is the list of customizations I made:
-
Created
lib
folder underapp
folder. -
Created
rabl-rails
folder underapp/lib
folder. -
Created
renderers
folder underapp/lib/rabl-rails
folder. -
Created
renderer.rb
file underapp/lib/rabl-rails
folder.