Use backbone-on-rails.