RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: eetteri
Site: www.eetteri.fi
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?
@arkadiy kraportov check out https://github.com/cldwalker/hirb . Ryan covers it quickly on some previous episode.
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?
@arkadiy kraportov check out https://github.com/cldwalker/hirb . Ryan covers it quickly on some previous episode.