very odd... all links show href in parentheses

38 views
Skip to first unread message

Wojtek Augustynski

unread,
Jul 26, 2011, 12:15:19 PM7/26/11
to rubyonra...@googlegroups.com
using 3.1.0.rc5 (though same thing happened on rc4), asset pipeline is loaded with blueprint css (I just dumped it all into a sub-directory and loaded it in the manifest). 
All of my show something like <text> (href)... so for <a href"/my/page">woot</a> it renders woot (/my/page)....

Anybody know WTH? Its gotta have something to do with blueprint, right? I thought it may be that "button as icons" plugin, though I deleted that out and restarted the server (thinking that sprockets does some caching or something) and nada.

Robert Walker

unread,
Jul 26, 2011, 2:52:42 PM7/26/11
to rubyonra...@googlegroups.com
Wojtek Augustynski wrote in post #1013139:

> using 3.1.0.rc5 (though same thing happened on rc4), asset pipeline is
> loaded with blueprint css (I just dumped it all into a sub-directory and
> loaded it in the manifest).
> All of my show something like <text> (href)... so for <a
> href"/my/page">woot</a> it renders woot (/my/page)....

Did you mean....

<a href="/my/page">woot</a>

or did you really have

<a href"/my/page">woot</a>

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

Jatin kumar

unread,
Jul 26, 2011, 3:06:52 PM7/26/11
to rubyonra...@googlegroups.com
Comment the part where you include the application.css in your application.html.erb.
I had the same problem, as I was also using blueprint-css.
Hope it helps.

Cheers
Jatin


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Wojtek Augustynski

unread,
Jul 26, 2011, 3:11:45 PM7/26/11
to rubyonra...@googlegroups.com
Yeah...typo on my part (links are naturally auto-generated and fine)...

Its deffinetly blueprint.css... I moved it out to vendor/assets/stylesheets though I'm at a loss on how to "require" it... I thought sprockets has that in its load path (according to http://ryanbigg.com/guides/asset_pipeline.html) though it doesn't seem to be picking up anything there... (though my links are fine without blueprint there :)

Wojtek Augustynski

unread,
Jul 26, 2011, 3:41:41 PM7/26/11
to rubyonra...@googlegroups.com
Wah, wah, wah, wah.....
Apperently its a bug with the print.css:
..... huh... oh well. I'm still a little puzzled as to the sprockets load path dealie....
I would think that anything in app/assets/** is supposed to be there IF it requires processing (.coffee, .scss, .erb). Though I couldn't find any resources out there on how to manage the manifest files to load the static asset files in lib/assets and vendor/assets.
Reply all
Reply to author
Forward
0 new messages