nesquena / rabl

General ruby templating with json, bson, xml, plist and msgpack support
http://blog.codepath.com/2011/06/27/building-a-platform-api-on-rails/
MIT License
3.64k stars 334 forks source link

README / Example Update #708

Closed adamrunner closed 6 years ago

adamrunner commented 6 years ago

Fix incorrect example around usage of partials.

In my implementation I noticed that I couldn't access local variables by using an instance variable, however accessing the locals hash seems to work correctly (and is used elsewhere in the documentation).