nesquena/rabl — pull request #269 by shingara (2012-06-12 10:37:57+00:00)
Title: Use params of locals pass on Rabl::Engine to be method

When you pass locals params on your Rabl.render you can now use it like
instance method in your rabl view. By example if you have a view like :

```ruby
object blog
attributes :content, :title
```

you can define your blog elements directly in you Rabl.render like :

```ruby
Rabl.render(nil, 'blog/show', {
:view_paths => 'app/view',
:locals => { :blog => Blog.new }
})
```