envato-archive / guide

Document your application with a living component library and styleguide
https://rubygems.org/gems/guide
MIT License
8 stars 3 forks source link

Fix render deprecation warning #77

Closed mariovisic closed 7 years ago

mariovisic commented 7 years ago

The warning looked like:

DEPRECATION WARNING: Passing the format in the template name is deprecated. Please pass render with :formats => [:text] instead. (called from _vendor_bundle_ruby_bundler_gems_guidea_ffffapp_views_guide_scenarios__scenario_htmlerb3737789344314660608_70136380035260 at /var/lib/buildkite-agent/builds/market-ip-10-0-1-121.ec2.internal/envato-marketplaces/marketplace/vendor/bundle/ruby/2.2.0/bundler/gems/guide-328a2f35fff1/app/views/guide/scenarios/_scenario.html.erb:8)

It is now fixed by passing the correct args to the render method :)

jordanlewiz commented 7 years ago

I don't really understand it but a big :+1: for your efforts to fix this during hackweek :)