ruby on rails - How to generate RABL instead of ERB file -
how generate rabl view instead of html.erb
am using following command
rails generate controller users new create update edit destroy index show
am getting .erb views. need rabl view.
rabl included in gemfile
gem 'rabl'
i think you're asking generator creates 'rabl' files scaffolding?
as far know,
nope. there isn't generator inside rabl gem.
as ckruse said; file -> new -> show.rabl
Comments
Post a Comment