Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jokke Heikkil's Profile

GitHub User: eetteri

Site: www.eetteri.fi

Comments by Jokke Heikkil

Avatar

So dumping orders array into data-attribute exposes all the attributes stored in db to Morris. What would be the best way to inject virtual attributes to the objects in array handed over to javascript side?

Avatar

@arkadiy kraportov check out https://github.com/cldwalker/hirb . Ryan covers it quickly on some previous episode.