Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
653 views

Is there a way how to access Stimulus JS controller action from Rails RJS view ? e.g.: //app/views/posts/create.js.erb` $('#tags').hide(); I could do //app/javascripts/controllers/...
3 votes
0 answers
627 views

I'm upgrading a rails project from 3.2 to 5.2. The docs in prototype-rails [github][1] say the support is not confirmed for Rails 4.1 and above. But right now, in the process of upgrading I'm still in ...
10 votes
2 answers
686 views

I have a old rails 2.x project that I have converted mostly over to rails 5. One issue is some of my actions used RJS, so it looked like: if request.xhr? render :action => 'new_user' and return ...
Blankman's user avatar
  • 269k
0 votes
1 answer
164 views

I am using Rails 4.2.6/PostgreSQL and trying to make dynamic update in index that has form and generate by scaffold. I think I am doing right but having issue with render partial via rjs. Bellow is an ...
user avatar
1 vote
0 answers
57 views

Right Now, I have rails 2 application that I'm converting into Rails 4, I'm getting problem to understand rjs structure and unable to convert into jquery This is my rjs code. page << %Q(if ($...
0 votes
1 answer
58 views

When all the scripts are loaded individually, everything works like a charm. I am now trying to optimize. However, because some of the .js loaded are shims, it just doesn't work, no JavaScript ...
blgrnboy's user avatar
  • 5,217
0 votes
1 answer
46 views

I'm using PrivatePub and I'm experiencing some weird behaviour here. Before going through the details please note that I'm using Ruby 1.9.3 and Rails 3.2.2. Let's say I have TestsController: class ...
0 votes
1 answer
68 views

I am using RJS in my current project. I have table rows with data and the last column contains a button, that binds javascript click function. Now I have to do a AJAX and append newly created row to ...
0 votes
1 answer
42 views

in a model popup receiving a variable as question type id as '$('#subquestion').val()' based on this value the model popup content have to create, model popup receiving the value but based on ...
0 votes
1 answer
105 views

How can I optimize my multiple requirejs projects? For instance I have this structure below where I have two main.js in different locations/ folders, build/ build.js dev/ index.php ...
0 votes
0 answers
223 views

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 ...
Suraz's user avatar
  • 1,309
1 vote
1 answer
378 views

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 ...
0 votes
0 answers
214 views

I have a directory structure like this: assets modules module1 models templates views //contains individual modules app.js build.js require.js text.js And here is my ...
2 votes
1 answer
325 views

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 ...
4 votes
1 answer
602 views

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 ...

15 30 50 per page
1
2 3 4 5
...
15

AltStyle によって変換されたページ (->オリジナル) /