Questions tagged [backbone-rails]

A gem for integrating Backbone into Rails.

Useful links:

8 questions
2
votes
1 answer

Backbone.Marionette CollectionView template 'undefined'

I've been working off of Brian Mann's BackboneRails screencast, so my application structure is totally consistent with those. The following defines the 'show' portion of a the HomepageApp Marionette Appication. My.module('HomepageApp.Show',…
Neil
  • 852
  • 1
  • 8
  • 14
2
votes
1 answer

Backbone.js: What is paramRoot: attribute in backbone.model?

I use rails-backbone gem and I generated a Backbone model. The model includes paramRoot: attribute. I assume it somehow tells Backbone how to connect to the corresponding Rails model, but I can't find any documentation about it. What does paramRoot…
Jeewes
  • 1,333
  • 2
  • 16
  • 18
1
vote
0 answers

Unable to redirect from user edit page using devise gem

I am using devise gem version 4.1.1 in my rails project and in my /users/edit page I want to redirect to the same page after the user changes his password instead of redirecting to the root_path. I googled around and found this link devise github…
Nikhil Gopinath
  • 170
  • 1
  • 12
1
vote
1 answer

Marionette Modules - Routes organization

we are currently working on a big project in Marionette. We've based the architecture on http://www.backbonerails.com/. The project is divided in number of modules , every with its own responsibilities. It's important for the modules to be reusable,…
Tomáš Kohout
  • 755
  • 6
  • 15
0
votes
0 answers

Uncaught ReferenceError: Modal is not defined after updating to rails 3.2.22.5

I am upgrading rails 3.1.0 application to rails 3.2.22.5. We have used backbone-rails for front-end rendering. Before upgrading, everything was working fine. But, after upgrading the rails version to 3.2.22.5. We are getting a lot of errors of…
Sarwan Kumar
  • 1,283
  • 9
  • 24
0
votes
0 answers

backbone-rails: edit and destroy not working correctly for a scaffold on page load

I have updated my question please look at the updated part: I am using rails-backbone gem in rails 4 and i followed a simple example presented on github's page of the gem. Backbone.js is now working fine but when i press browser back button to move…
0
votes
1 answer

backbone-rails: redirection to a controller action

I am using rails-backbone gem for the first time. I have to doubt in how to redirect in using backbone. Following the steps that i followed as provided at github's page and everything is working fine. but when i see my controller it contains the…
0
votes
1 answer

Unable to create new instance of marrionette app

Hi I have installed the latest version of 'marionette-rails' and 'rails-backbone' for my web app but am having issues in creating a new marrionette instance. This is what I did in my web console App = new Marionette.Application() After which I see…
Zhen
  • 12,361
  • 38
  • 122
  • 199