[Rails] Re: CSS Reference Lost in Some Cases

2014-02-20 Thread Farsheed Bamboat
Thanks everyone. I moved the CSS file to app/assets/stylesheets and used the following syntax but it still did not fix the issue. <%= stylesheet_link_tag 'ammos_new' %> Is this a known/common issue? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscr

[Rails] Re: Re: Re: Re: CSS Reference Lost in Some Cases

2014-02-18 Thread Farsheed Bamboat
Colin Law wrote in post #1137112: > On 18 February 2014 20:53, Farsheed Bamboat > wrote: > Have you looked at the html source of the page in the browser to see > if it looks right? > > Colin Yes, this is what I see (and it looks all right): Ganesh Ranganathan wrote in p

[Rails] Re: Re: Re: CSS Reference Lost in Some Cases

2014-02-18 Thread Farsheed Bamboat
Ganesh Ranganathan wrote in post #1137105: > On Wed, Feb 19, 2014 at 1:45 AM, Farsheed Bamboat > wrote: > Try > > <% content_for :head do %> > <%= stylesheet_link_tag 'ammos_new' %> > <% end %> No difference. :( -- Posted via http://www.ruby-f

[Rails] Re: Re: CSS Reference Lost in Some Cases

2014-02-18 Thread Farsheed Bamboat
Ganesh Ranganathan wrote in post #1137095: > On Wed, Feb 19, 2014 at 12:51 AM, Farsheed Bamboat > wrote: > >> Thanks Ganesh. I just tried that right now but the issue still persists. > > > Can you share the _form.html.erb code for head section > > Does it not work on

[Rails] Re: CSS Reference Lost in Some Cases

2014-02-18 Thread Farsheed Bamboat
Ganesh Ranganathan wrote in post #1137083: > On Tue, Feb 18, 2014 at 11:58 PM, Farsheed Bamboat > wrote: > You should use the <%= stylesheet_link_tag 'filename' %> instead of > including the http://www.ruby-forum.com/. -- You received this message because you are sub

[Rails] CSS Reference Lost in Some Cases

2014-02-18 Thread Farsheed Bamboat
Firstly, sorry if this is a basic question - I'm pretty new to rails. I've created a very basic rails application using the standard scaffold. I have two CSS files - one global (global.css) and one that is page specific (in this example, ammos.css). The global CSS has most of the CSS design and th