Displaying 20 results from an estimated 10000 matches similar to: "JQuery.js problem"
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): Cannot read property 'state' of
2012 Jan 01
3
'require_tree .' does not seem to be including the available *.js files as expected. Why?
Hi, all,
Happy new year :)
Referring to http://guides.rubyonrails.org/asset_pipeline.html, it
seems that ''require_tree .'' in myapp/app/assets/javascripts/
application.js will include all *.js files in the myapp/app/assets/
javascripts/.
I have a few other *.js files in this directory : parts.js, makes.js
and categories.js.
Here''s an extract from the html file I
2012 Nov 02
2
jquery error in production precompiled
In my rails project, for production precompile
I do : rake assets:precompile RAILS_ENV=production
But it not work for jquery.
In my firegub console, I got the error
“ReferenceError: JQuery is not defined “
at production.rb
# Disable Rails''s static asset server (Apache or nginx will already do this)
config.serve_static_assets = true
# Compress JavaScripts and CSS
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
2012 May 10
1
getting started with jQuery rails 3.2
Hi all,
I''m trying to work out how to get started using some jQuery in my rails
app.
rails -v = 3.2.2
ruby -v = 1.9.3-p194
I''m only sporadically a web-developer, and still quite inexperienced
with jQuery especially, so I may be making an obvious mistake.
Essentially, I''ve done very little after creating a new app, I''ve learnt
that jQuery is included by
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
Trying to get jQuery UI to work with my rails 3.1 setup, but i keep
getting errors that i cant see posted anywhere, this is driving my
insane so please have a look =>
[application.js]
// This is a manifest file that''ll be compiled into including all the
files listed below.
// Add new JavaScript/Coffee code in separate files in this directory
and they''ll automatically
// be
2011 May 25
1
trouble using jQuery in Rails 3.0.7
I''ve tried to install JQuery a couple of times now, and I''ve followed
the steps for Rails UJS mentioned here:
https://github.com/rails/jquery-ujs
The last time I went ahead and added jQuery UI as well:
$ rails generate jquery:install --ui
remove public/javascripts/prototype.js
remove public/javascripts/effects.js
remove public/javascripts/dragdrop.js
2011 Nov 18
0
Assets - find a weird behavior recently and I'd like to understand the original issue
Hi the great community of Rails :)
Okay... Recently I had a big problem with javascript (JQuery) in one
of my Rails 3.1 application.
The problem was that the behavior of my javascript animations were
acting in a very weird way, and the strangest thing was it happened
only in development for the exact same code as the one of the
production application.
What I tried: (if you''re in a
2013 Jun 28
0
ruby on rails couldn't find file 'jquery.ui.all'
couldn''t find file ''jquery.ui.all'' which is a known issue, I added
*=require jquery.ui.all to application.css and //= require jquery.ui.all to
application.js but still get the error.
http://bpaste.net/show/1RqTDUte2XLBoj8fdTbf/
Sprockets::FileNotFound in Preorder#index
Showing
/var/www/localhost/htdocs/selfstarter/app/views/layouts/application.html.erb
where line
2013 Jul 10
0
ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
Hello,
In production environment, I have this error ActionView::Template::Error
Not a directory vendor/assets/javascripts/holder.js when in my template I
have this line
<%= image_tag "holder.js/150x200" %>
My production.rb is :
Libapp::Application.configure do
# Settings specified here will take precedence over those in
config/application.rb
# Code is not reloaded
2011 Aug 13
0
Rails 3.1 , jQuery, link_to to a partial without reloading page
In the index page i want to place a link (for registered users only)
that show''s the User.all in a partial on a div without reloading the
whole page.
But since i don''t know jquery... is there a code or a tutorial online?
I read that before it was possible with remote=> true but since rails
3.1 switched to jquery and added the assets directory i have no idea
how to do it.
--
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 =>
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 25
0
ajax problem when switching from prototype to jquery
I have an old Rails application that I''d previously upgraded to Rails 3.1
with a lot of legacy features left on; now I want to switch to using jQuery
instead of Prototype, and switch to using the asset pipeline.
I''m trying to tackle the first of those; no idea if that''s wise, maybe I
should start with the asset pipeline instead? To switch to jQuery, I added
gem
2010 Jun 16
4
firebug jQuery undefined message in rails app
In rails app, I add the following line of code in application.js and I
get jQuery is not defined in firebug console.
In application.html.erb, I have the following:
<script type="text/javascript"
src="../javascripts/application.js"></script>
<script type="text/javascript"
src="../javascripts/jquery-1.4.2.js"></script>
and I installed
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello,
I''ve created a new Rails3 app and I''m using jQuery instead of prototype.
Gemfile:
gem ''jquery-rails''
in my config/application.rb I want do the following:
config/application.rb
if Rails.env.production?
config.action_view.javascript_expansions[:defaults] = %w(jquery.min
rails application)
else
2008 Sep 25
2
jquery, format.js and IE
I''m trying to use jQuery to write all my js unobtrusively, and running
into a bit of a problem when triggering the format.js block in IE6 (and
possibly IE7). It returns the JSON string no problem, but instead of
parsing it, IE6 asks to download the resource as a .js file.
So if my url is ''/pictures/1.js'', IE6 will ask to save or run ''1.js''
I did do
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me)
Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class
So I''m using...
app/assets/javascripts/people.js.coffee and put in...
2013 Jan 22
1
rails datatables refresh javascript
Hi
I followed a railscast episode and got datatables up and running,
beautifully along with the nice jquery-ui as in the front page.
The main issue I''m having though is that I suck at CoffeeScript/JS ~_~
I''m trying get the datatables to reload every 1 second but I don’t see any
request coming into my webserver for refreshes and hence, no refreshes on
the web page itself.
2011 May 25
0
Issues implementing jquery-form plugin for displaying image via an ajax call in my rails poc
Hello all,
I am trying to implement a POC wherein I can post a message + image and
get the same working via AJAX to display them both for each new entry
without the page reloading.
I am using a config of Ruby 1.8.7 and Rails 2.0.2 for project specific
purposes.. I am also using a pretty old paperclip commit from github for
this....I had to suit my proj config requirements mentioned previously..