I tried to assign controller to navigation menu using ng-include directive. This works fine in development environment but when I minify javascript code NavigationController gives undefined.
Partial ...

I'm using rjs optimizer via grunt. I want to use webworker using the
Parallel.js lib, but I get syntax errors running the optimized code.
Comparison of optimized and unoptimized code:
See this gist ...

I am not sure if this is possible, I've tried with a wildcard * in the paths config.
I want to load requested modules named jquery/* from subdir libs/jquery/src, but other files should be loaded in ...

I'm building an app with Durandal to bundle with PhoneGap. When I'm trying to run the weyland optimizer I'm running into some issues.
The build and optimization runs fine without any errors (I'm using ...

I encountered the following a blog post on RJS leaking vulnerability in multiple Rails applications. Mike Hartl's book uses RJS.
Is it dangerous to use RJS. The problem is that the blog post I linked ...

I am working on a library built using require.js. It has a number of public (documented and accessible by the library users) and private (used only within the library) modules.
This is what I want to ...

I've built my app using require.js in order to keep everything modular. Having finished it turns out that require.js itself is bigger than my optimised app code. Is there some way I can get r.js to ...

I have an instance variable @foo in my create controller action and I am rendering create.rjs template. In the RJS template I need to call a js function (with page.call) and pass @foo as params. How ...

I have a form that, when the user submits, and the user is not signed in, they receive a modal prompt to login. Once the user logs in, the modal disappears, but they have to click the submit button on ...

I followed Hartl's Rails tutorial where he does Ajax using RJS and sending javascript in the response to be executed on the client side to edit the DOM.
But what do you do if you want just JSON sent ...

I am using rails3 , In my application auto complete-functionality is there. When users/new template auto-complete functionality working. users/new is a partial file also. If I want to call as a ajax ...

I try to learn RJS usage in Rails application but I could not find good resource on Web. There are some simple examples but not a vast tutorial that I need. Please suggest any if you know :)
Thanks ...

I am using Rails 2.3 and I don't know how to retrieve the value of a text_field of a form in order to handle it in the rjs file. I searched on the Internet all day and I didn't find a solution.
Here ...

On my site I use require.js to manage my code, on the main page of my site there is alot of JavaScript with the data-main=MainPage.js. One of the libraries this page uses is the ace editor, this works ...

I am having problems setting rjs up and I don't know the right way to code this for rails 2.3.14
Are they (link_to_remote and link_to with :remote > true) the same or do they reflect rails versions or ...

Sometimes at websites all comments or other data from DB is hidden by default. When user click at link like "Display comments" all comments from database are dynamically selected and placed under the ...