isagalaev/highlight.js — pull request #507 by lucasmazza (2014-07-25 02:05:49+00:00)
Title: Ruby Hash + stabby proc syntax issue

The following snippet isn't properly highlighted.

```ruby
class Car < ActiveRecord::Base
has_many :wheels, class_name: 'Wheel', foreign_key: 'car_id'
scope :available, -> { where(available: true) }
end
```

![](http://cl.ly/image/1h2n3D220R2e/Screen%20Shot%202014-07-14%20at%207.19.36%20PM.png)

This problem is only present when using both lines - switching back to the hash rocket Hash syntax (`:class_name => 'Wheel'`) or replacing the `->` with the `lambda` keyword does not replicates this issue