[Rails] Re: custom js in rails project

2012-08-31 Thread Axel Aguilar
hi! since the css and js is the zurb foundation, I realize I can install the gem, and I follow the how to in the home page at git-hub (https://github.com/zurb/foundation-rails), and I get stuck in "Using foundation in production", I cant use capistrano because I don't know where is the capfile.. so

[Rails] Re: custom js in rails project

2012-08-30 Thread tundrax
Try including js in order like you had before. # in your application.js //= require jquery //= require jquery_ujs //= require 'foundation.min' //= require 'app' //= require 'jquery.foundation.navigation' //= require 'modernizr.foundation' //= require 'mijs' On Thursday, August 30, 2012 4:54:01

Re: [Rails] Re: custom js in rails project

2012-08-30 Thread Colin Law
On 30 August 2012 08:53, Axel Aguilar wrote: > yes! this is exactly what I mean. And I know this works because I made > it in a static page with the css and js, all out of rails, before. I > can't validate the code now, I will this night, but I don't think the > code can be the problem as long as

[Rails] Re: custom js in rails project

2012-08-30 Thread Axel Aguilar
yes! this is exactly what I mean. And I know this works because I made it in a static page with the css and js, all out of rails, before. I can't validate the code now, I will this night, but I don't think the code can be the problem as long as it works out of rails... Thanks all to answer :) --

Re: [Rails] Re: custom js in rails project

2012-08-30 Thread Colin Law
On 29 August 2012 22:11, Axel Aguilar wrote: > thanks for answer (so fast!) > > now I have this in the layout file: > > <%= stylesheet_link_tag'application', :media => "all" %> > <%= javascript_include_tag'application', :media => "all" %> > <%= csrf_meta_tags %> > > also tryied: > >

[Rails] Re: custom js in rails project

2012-08-29 Thread Axel Aguilar
thanks for answer (so fast!) now I have this in the layout file: <%= stylesheet_link_tag'application', :media => "all" %> <%= javascript_include_tag'application', :media => "all" %> <%= csrf_meta_tags %> also tryied: <%= stylesheet_link_tag'application', :media => "all" %>