Am 28.11.2011 10:41, schrieb Somnath M.:
Thanks, your path worked. But seems a bit strange. That the paths
mentioned in the tutorial and the actual path would vary so much, just
because i am just a few versions up the ladder.
With the introduction of the asset-pipeline the behaviour of
stylesheet_link_tag changed. This is what makes it incompatible, same is
In 3.0 and before, the helpers were wired to /public/stylesheets (or
Now with 3.1 and the introduction of the assetpipeline there were
All helpers now create a reference to “/assets/”. You can
either put static assets there, or the recommended way, put your assets
in the corresponding folder under /app/assets/.
The big advantage of this way is, that you can have stylesheets or
Theoretically you could even drop your stylesheets in brainfuck1 if
someone provides a gem that processes the brainfuck document.
The disadvantage on the other hand: People following 3.0 tutorials on a
3.1 environment, asking themself “Why doesnt that work? I using rails
3!” But not realizing the change in the minor version number, since in
many heads a change in minor still means “compatibility”
I hope this short excurse is helping you to get over your problems.
PS: Please use quoting in the future and quote the parts of the message
you are refering to, this would make following the conversation easier.