sheamus
2012-Jul-15 18:56 UTC
changing application.css to .scss prevents model.css.scss from being included...
I changed my application.css file to application.scss, and everything worked fine. But now my model specific .css.scss files are not being ''auto'' included. i.e., user.css.scss is being ignored as far as I can tell. Is there a way I can make model specify stuff be auto included? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/s90qQUEafjEJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
Rocky
2012-Jul-16 10:52 UTC
Re: changing application.css to .scss prevents model.css.scss from being included...
Have you tried naming the file application.css.scss? You can include specific style sheets by deleting the ''require tree'' comment from the application stylesheet and then using @import "example.css.scss"; for every stylesheet that you have. Doing this means you can specify the order in which they compile. On Sunday, 15 July 2012 19:56:34 UTC+1, sheamus wrote:> > I changed my application.css file to application.scss, and everything > worked fine. > > But now my model specific .css.scss files are not being ''auto'' included. > i.e., user.css.scss is being ignored as far as I can tell. > > Is there a way I can make model specify stuff be auto included? >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/hGvbFHZI6tcJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.
sheamus
2012-Jul-16 15:24 UTC
Re: changing application.css to .scss prevents model.css.scss from being included...
Yeah, I am using the @import now. I was expect it to be automatic, but I guess the logic is that if you are using sass for the layout then you will want complete control of how things are brought in. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/EXAuFpa5fAcJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.