search for: jquery_uj

Displaying 19 results from an estimated 19 matches for "jquery_uj".

Did you mean: jquery_ujs
2014 Apr 26
0
jquery_ujs.js 404
I am getting this annoying error which relates to jquery_ujs.js not being served. Any clues? This is the site link: http://test.kopy.com.br/home/index GET http://test.kopy.com.br/assets/jquery_ujs.js?body=1 404 (Not Found) index:11 GET http://ads.panoramtech.net/loader.js?client=tac net::ERR_BLOCKED_BY_CLIENT rev.js:4 Error in event handler for (unknown):...
2011 Aug 13
2
can't get jquery_ujs to work
I''ve followed the instructions on the git page for rails three, and set my form tags to :remote=>true but the inputs in the forms are not showing up with any data-elements and when i change data nothing is sent back to the server is there something else i have to do on the forms, do all the input tags have to be set to :remote=>true as well? thanks ken -- You received this
2012 Nov 02
2
jquery error in production precompiled
...able Rails''s static asset server (Apache or nginx will already do this) config.serve_static_assets = true # Compress JavaScripts and CSS config.assets.compress = true config.assets.precompile = [''*.js'', ''*.css''] at application.js // = require jquery_ujs // = require jquery // = require jquery.jcarousel.min // = requier_tree . how I do for that Regards, D2M -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3Mb...
2012 Jan 01
3
'require_tree .' does not seem to be including the available *.js files as expected. Why?
...pe="text/javascript"></ script> <script src="/javascripts/application.js" type="text/javascript"></ script> <script src="/javascripts/jquery.min.js" type="text/javascript"></ script> <script src="/javascripts/jquery_ujs.js" type="text/javascript"></ script> <!--, "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/ jquery.min.js" %> - "jquery.js", "application.js", "jquery.min.js" , "jquery_ujs.js" --> <!-- :defaults, "jqu...
2012 Aug 29
7
custom js in rails project
Hello, I have a rails project with one controller and one action, as simple as posible. And I''m trying to put some custom css and js to my own index.html.erb (not public/index.html.erb), I inluded this on the layout file: layout file: <!DOCTYPE html> <html> <head> <title>Volei</title> <%= stylesheet_link_tag "application", :media =>
2012 Feb 26
0
Served asset /application.css - 304 Not Modified
...ssets/books.js?body=1" for 127.0.0.1 at 2012-02-26 14:48:35 +0900 Served asset /books.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-02-26 14:48:35 +0900 Served asset /application.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-02-26 14:48:35 +0900 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-02-26 14:48:35 +0900 Served asset /jquery.js - 304 Not Modified (2ms) -- You received this message because you...
2012 Mar 07
1
link_to with :remote=>true works when bound to "click" but not "ajax:beforeSend"
Hi. I am trying to do an ajax link in Rails 3.2.1 and jQuery. I am loading jquery.js and jquery_ujs.js. In my document ready, if I bind to the event "click," clicking the link fires an event, but if I click to ajax:beforeSend, it doesn''t. Nothing happens when you click the link in JQuery. The event does go to the controller, though. Works: $(document).ready(function(){...
2011 May 25
1
trouble using jQuery in Rails 3.0.7
...ery.js identical public/javascripts/jquery.min.js copying jQuery UI (1.8.12) create public/javascripts/jquery-ui.js create public/javascripts/jquery-ui.min.js copying jQuery UJS adapter (dad698) remove public/javascripts/rails.js identical public/javascripts/jquery_ujs.js As you can see, jQuery was already installed. However, I''m trying to follow the Getting Started tutorial which ahead a "Hello world" alert to all hyperlinks on the page, and nothing happens when I click a link. Here''s what''s in the <head> of my lay...
2011 Jul 19
3
What does "require tree" do in Rails 3.1?
In Rails 3.1.... This is my application.css: /* *= require_self *= require_tree . */ This is my application.js: //= require jquery //= require jquery_ujs //= require jquery-ui //= require_tree . What does the "require_tree ." do? -- 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 https://groups.google.com/d/msg/rubyonrails-talk/-/V...
2012 Jun 28
2
Best practice on Javascript and rails
...I''m using rails 3.2, ruby 1.9.3 ///////////// 1st situation - using a gem to include a javascript package : By default now I notice this is included in the gemfile : gem ''jquery-rails'' there''s also these lines in application.js //= require jquery //= require jquery_ujs and there''s this in my layout view <%= javascript_include_tag "application" %> do I have to do anything at all to use jQuery in my application? If I want to use some jQuery on a page, where''s the place to put it? in the controller.js.coffee? Or on the page betw...
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
...and they''ll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It''s not advisable to add code directly here, but if you do, it''ll appear at the bottom of the // the compiled file. // //= require jquery //= require jquery_ujs //= require jquery-ui //= require_tree . [application.css] ... @import "jquery-ui-1.8.14.custom.css"; ... If i try auto-complete demo, the code => <input id="tags"> gets rended to => <input id="tags" class="ui-autocomplete-input" autocomple...
2014 Apr 29
0
Bootstrap 3.1.1 is showing as BS 2...
...my project is styled with Bootstrap 2... *but it should be 3.1.1.* I am not using the direct files in the stylesheets folder, instead I created my own custom.css.scss and did @import "boostrap";. I also included the these in my application.js file. *//= require jquery//= require jquery_ujs//= require bootstrap//= require_tree .* my gemfile has: *source 'https://rubygems.org'gem 'rails', '3.2.16'gem 'bootstrap-sass'gem 'sass-rails', '3.2.5'gem 'bootstrap'gem 'bcrypt-ruby', '...
2013 Jul 10
0
ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
...;s not advisable to add code directly here, but if you do, it''ll appear at the bottom of the // the compiled file. // // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT''S TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // //= require jquery //= require jquery_ujs //= require holder //= require bootstrap //= require_tree . In development, it''s ok. Thank you. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an...
2013 Mar 10
2
css url paths when moving it to a different folder
Hey. Its simple quation, but have litle problem with this. Its my path for css - assets/content/stylsheets/my.css Its path picture for background url - assets/images/picture.gif I do the following in my.css background: transparent url(../../images/picture.gif). but the path is not correct, the image is not found. I tried with one ../ and easy images/picture.gif. Not work. When i add picture in
2013 May 04
21
Getting started w/ Rails 4
Hi. I''m trying to run Getting started tutorial under Rails 4.0.0.beta1 although it assumes it runs on Rails 3. I was able to get rid of all errors by wrapping post_params here and there, and installing protected_attributes Gem for attr_accessible to make sense. Post/ comment CRUD works just fine, but I don''t seem to be able to add Tags (the final part of the tutorial). Post saved
2011 May 27
7
Rails 3.1.rc1 + gem coffee-script - WEBrick and Unicorn hangs.
Environment: rvm ruby 1.9.2-p180 rails 3.1.rc1 Conditions: gem "coffee-script" # in Gemfile at least one file with .js.coffee (even empty inside) in app/assets Result: WEBrick or Unicorn hangs. Only kill -9 <pid> helps. P.S. What additional info should I provide? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
2011 Nov 25
4
Sprockets File not Found Exception.
Hi Everyone, I was trying out some sample applications for Rails. I created some controllers and pages. But when i try to access one of them i get an exception on the webpage: --------------------------------------------------------------------- Sprockets::FileNotFound in Pages#home Showing c:/railscode/test_app/app/views/layouts/application.html.erb where line #6 raised: couldn''t
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just
2013 Jun 25
6
creating an account with a username in devise
Hello, all. I have followed these links and have enabled a (current) user to login with a username: http://railscasts.com/episodes/209-introducing-devise http://railscasts.com/episodes/210-customizing-devise https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address I want to allow a user to sign up with a username but am getting these