similar to: What to use //= require_tree or js,css incude tag in application.erb ?

Displaying 20 results from an estimated 600 matches similar to: "What to use //= require_tree or js,css incude tag in application.erb ?"

2012 Jan 05
6
assest pipeline how to exclude some css files?
In my assets I have intranet |_1.css.scss |_2.css.scss internet |_1.css.csss application.css application_internet.css application_intranet.css 1.css.scss 2.css.scss 3.css.scss intranet and internet are directories. In my layout I want to exclude the files under internet and intranet. I have created application_internet.css /* * application-internet.css * *= require_self *=
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 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi, I''m trying to properly reference a .css file. Unfortunately the asset pipeline is doubling my css references which disables my code. What gets rendered is: <link href="/assets/sincoraish-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="/assets/sincoraish-print.css" media="print"
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
2012 Aug 23
5
wat is diff between webrat and capybara?????
now i am using cucumber.........and i get two topic webrat and capybara........wat is the diff between them???????which one is good?????which one i use????? Regards Fahim Babar Patel -- 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
2012 Sep 12
2
how to generate third table in test database
hi all, has_and_belongs_to_many :cows has_and_belongs_to_many :milkmans i am using has_and_belongs_to_many in my app.I know this will create third table internally cows_milkmans in mysql database. when i migrate develpoment database i have table cows_milkmans. Good no Problem till now. Now a problem start When i migrate test database there is no such cows_milkmans table is present..
2012 Sep 15
1
Could not find gem 'nileshtrivedi-gupshup (>= 0) ruby' in the gems available on this machine.
I wish to use nileshtrivedi-gupshup gem but i am getting this error. Can any one know about this? ERROR Could not find gem ''nileshtrivedi-gupshup (>= 0) ruby'' in the gems available on this machine. Thanks Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email
2012 Nov 02
4
How to test recaptcha in localhost?
Hi all, I follow All the steps for recaptcha , but i am confused how to test on my local host. Because when we register in google recaptcha it ask for domain URL, i stuck here. Q What should i enter in domain url ? Hope that you all understand the problem. Thanks Regards Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Oct 31
2
What is Formtastic and SimpleForm gem ? Is any one of this is by default included in Rails ?
Hi all, I read Formtastic and SimpleForm gem. I am using 3.4 Q 1 Is any one of this is by default included in Rails ? Q2 Any advantage of this gems over simple form tags ? As per my knowledge we are using form helper , but still i raised the qustion ? Thanks Regards Fahim Babar Patel -- You received this message because you are subscribed to the Google Groups "Ruby
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
2012 Oct 26
7
How to use Ajax with rails ?
Hi all, Can any one tell me how to use Ajax with Rails. Send me quick start up link and videos. Thanks Regards Fahim Babar PAtel -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this
2006 Dec 21
0
Browsing problem with XP Media Center Edition
Hi all! I've got a samba-3.0.14a-2 running on a single subnet. It has been my WINS server for a long time and has done well, until now. The dhcp server on the subnet is telling all clients to use the file server as WINS but when one of the employees here plugs in his XP Media Center Edition, browsing is failing. It's failing by only showing the file server, the XP MCE and eventually the
2011 Sep 04
1
Linking failure in stylesheet_link_tag in production mode with asset pipeline enabled
Hey, in my `application.html.erb`, I have this line: <%= stylesheet_link_tag ''application'' %> which should compile through the asset pipeline and link to the application.css (which does a `require_tree .`). In development mode, I''d expect a <link ... href="/assets/application.css" /> This file is actually delivered by, for example, the
2014 Apr 29
0
Bootstrap 3.1.1 is showing as BS 2...
I should first mention that I'm new to rails, but I updated to Ubuntu 14 today and I cloned my latest project from Github after installation. Everything seems to be working just as my last push, however 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
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 Sep 13
1
Unable to access share on Encrypted Partition
Hi, I would like some help. I am trying to set-up a share on an Encrypted Partition of my Home Server. I'm using opensuse 11.4 with samba version 3.5.7-3.5.1-2573-SUSE-SL11.4-i386. This is something that I know has worked with earlier versions of openSuSE and samba. My smb.conf looks like this: ==START== [global] workgroup = buffalonet passdb backend = tdbsam printing = cups
2011 Sep 18
12
3.1 asset pipeline + Capistrano troubles
Hello, I''m having a bit of trouble with the asset pipeline and, I think, Capistrano. In my app layout I have: <%= stylesheet_link_tag "application", "bootstrap" %> And the relevant bits of the app dir structure are: app/assets/stylesheets/application.css.scss # Contains ''require_self'' and ''require_tree .'' as usual
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 Nov 01
2
how to use localtunnel gem ?
Hi all, I read about localtunnel gem . As per my knowledge , local tunnel generate a URL , which can be used globally . I wish to use localtunnel for my knowledge. But now my question is raised . Q is we have to start rails server port 3000 on another terminal ? or localtunnel server is enough for our development server which we have already started on 3000 port ?. Q Can any one
2011 Jun 17
0
.js.erb not being parsed by .erb first
I am trying to dynamically include a javascript file based on a configuration option however I keep getting this error: Error compiling asset application.js: ArgumentError: wrong number of arguments (3 for 1) (in c:/Users/Dieter/Documents/event_calendar/vendor/assets/javascripts/event_calendar.js.erb:1) when trying to run this code: //<% require ''event_calendar'' %> //=