similar to: UJS Rails Plugin Group

Displaying 20 results from an estimated 90000 matches similar to: "UJS Rails Plugin Group"

2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all, Anyone using UJS with RSpec? I have the following view spec: ---- edit_spec.rb context "accounts/edit" do fixtures :users setup do assigns[:user] = users(:consumer) end specify "should display the user info to edit" do render ''/accounts/edit'' end end ---- end that causes this exception: ---- exception ActionView::TemplateError
2008 May 30
0
UJS for rails plugin Installation problems
Hello, I downloaded and installed the latest UJS plugin. I first got the error "uninitialized constant UJS" and this error wouldn''t go away no matter where I place the "UJS::routes" line in the routes.rb file. The only way I found to get rid of this error is to run "rake tmp:sessions:clear" but then I get another error which is "can''t convert
2006 Dec 27
13
Where did UJS go? UJS vs. RJS
I have not been able to access the UJS site, http://www.ujs4rails.com/ for two days. Does that mean there are problems or that it has been incorporated into Rails core? In general, what do you think of using UJS instead of RJS? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2007 Jul 08
0
UJS and make_observed
<p class="lastwinner"> <%= text_field_tag :user_search, params[ :user_search ] %> </p> <%= apply_behaviour "#user_search", make_observed( :field, :update => ''contresults'', :with => "''user_search='' +
2011 Sep 19
1
Rails and UJS guide - not having much luck
I refered to http://railsdog.com/blog/2011/02/28/callbacks-in-jquery-ujs-in-rails3/ in hope of getting json data from my controller and displaying it in my view when an ajax request is made. I followed the instructions on the http://railsdog.com/blog/2011/02/28/callbacks-in-jquery-ujs-in-rails3/ and even corresponded with the author and also implemented his ''fix'' in
2006 Oct 04
0
UJS Plugin - apply_behaviour Question
Anyone using the Unobtrusive Javascript for Ruby On Rails Plugin? I have some code that looks like this. <% apply_behaviour ''select:click'' do |page, element, event| page.insert_html :top, ''the_list'', "<li>hi</li>" end %> What I would like to do is list the element.value rather than the string "hi" but I''m a
2010 May 12
1
Rails 3: perform controller action upon selecting menu item (UJS?)
In Rails 3, I have a form that has a menu on it. I would like to render an area containing text fields within the form differently depending on what''s selected in the menu. Prior to Rails 3, one way it appears I could do this is by using observe_field on the menu and call an action in my controller that renders the appropriate partial which could then be swapped into a div in my form.
2010 Aug 14
1
Rail3: UJS submit after client-side validation
I am have some problems with UJS. I have a (potentially) large form that I was doing client side validation on (yes there is also some server side validation) using an old prototype validation routine that is not working with the current version. I actually got validation to work by coping and modifying some of the rail.js routine to observer submit. I also had some javascript toggles that I got
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys, I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9. Sadly, rails 3 no longer has javascript generators and I''m now forced to do more javascript. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion
2008 Feb 17
2
The one thread to solve problems in the Vorbis documentation
Since documentation is now becoming an important step in the Xiph roadmap, I figure we might as well have a thread to discuss possible problems. I'd like to bring attention to the following tickets in Trac: * 1158 [1] * 1159 [2] * 1169 [3] They all seem like sensible concerns and possible solutions should be discussed here. -Ivo [1] https://trac.xiph.org/ticket/1158 [2]
2011 Oct 03
0
rails ujs, multiple ajax requests
Is there a way if you have multiple say products(example) to comment with ajax on each one inline? I cannot seem to pass anything other than the id. products have may comments -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit
2010 May 31
0
Rails 3 UJS and delete action
Hi, I ve got a question concerning delete actions in the new rails 3 world with unobtrusive javascript. How may I perform an "ajax" delete in a list of products. if attribute data-method is specified rails.js handleMethod is called, which adds csrf params into a hidden form and form.submit is called. Works great, but form.submit is nt performed as an ajax request. Using data-remote
2010 Oct 11
0
Converting observe_field to UJS in Rails 3
I am trying to rewrite my website in Rails 3 and Ruby 1.9.2. Can some one help me convert my observe_field which is working under Rails 2.3.5 to Rails 3. I would like to avoid using JQuery as over the last year everything I have tried in JQuery has failed, including this one. Perhaps due to my lack of knowledge. I would not like to install the legacy upgrade. What I have in my website is several
2007 Jan 23
4
Rails bug reports & patches - why no action?
I have noticed at the dev.rubyonrails.org site that many tickets with pretty clear-cut bug reports/patches or feature enhancements don''t get any attention. They sit there for months at a time. Why is this? Are tickets from those that are not in rails-core deprioritized? Are there just not enough people that have the power to act on tickets? I know it''s not lack of test cases
2007 Dec 21
1
Princely - Prince XML PDF Wrapper Plugin
Recently I was implementing PDF generation for a project utilizing the fantastic library Prince XML (http://www.princexml.com). I came across a blog article with a basic library and helper set for Prince (http:// sublog.subimage.com/articles/2007/05/29/html-css-to-pdf-using-ruby-on- rails), which provided a great basis. I wanted to make something a little more generalized and in-keeping the Rails
2013 Oct 02
2
Rails 4 ujs button only works after second click
Here''s the code https://gist.github.com/dasibre/6786245 *new.js.erb file has the following js code* $(''a.pinbutton'').on(''click'', function() { $(this).parent().append(''<%= escape_javascript(render("select")) %>'') }); *here''s the player index with the new link* <%= link_to "Pin",
2007 Nov 18
2
Aptana RadRails 0.9.1 Final Release
For fellow Radrails users, there is happy news ! Aptana RadRails 0.9.1 Final Release has been released since 15th November 2007. Users who are still on 0.8.0 are highly recommended to upgrade. Here''s the Trac changelog: http://www.aptana.com/trac/milestone/RadRails%20IDE%200.9.1 And the ASAP one: http://support.aptana.com/issues/browse/ROR/fixforversion/10004 Apparently, 66 tickets
2006 Nov 04
2
Trac Triage with THE MAGGOT (Time To Clean Your Patches)
Evening, Alright folks, as Jeremy Kemper mentioned I''m working on a set of "triage" scripts for the Rails trac using RFuzz to go through all the tickets and clean them out. I''ve talked this over with the core guys, and they''re behind it. I''m calling this set of scripts "THE MAGGOT" thanks to hasmanyjosh. Basically THE MAGGOT (all caps)
2006 Nov 04
2
Trac Triage with THE MAGGOT (Time To Clean Your Patches)
Evening, Alright folks, as Jeremy Kemper mentioned I''m working on a set of "triage" scripts for the Rails trac using RFuzz to go through all the tickets and clean them out. I''ve talked this over with the core guys, and they''re behind it. I''m calling this set of scripts "THE MAGGOT" thanks to hasmanyjosh. Basically THE MAGGOT (all caps)
2008 Jan 18
1
Announcing: Ext Scaffold Generator Plugin for Rails
The Ext Scaffold Generator Plugin can be viewed as a drop-in replacement for Rails'' standard Resource Generator. Accepting the very same options, it will generate views using data grid and form components from the Ext JS Javascript GUI framework as well as a controller acting as an Ext-compatible JSON web service. The generated code can be used as a starting point for further