Ganesh Ranganathan wrote in post #1137095:
> On Wed, Feb 19, 2014 at 12:51 AM, Farsheed Bamboat
> <[email protected]>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 development or Production, or both?

It doesn't work in dev. I don't have a prod environment yet.

Here are the two options I have tried for the header code:

Option 1:
<% content_for :head do %>
  <link rel="stylesheet" type="text/css" 
href="/stylesheets/ammos_new.css">
<% end %>

Option 2 (this was based on your suggestion):
<% content_for :head do %>
  <%= stylesheet_link_tag '/stylesheets/ammos_new.css' %>
<% end %>

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/3c6d114fbdaa01f6f2d680cc60ee57f7%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to