Ruby on Rails w D3 app 1