Displaying 20 results from an estimated 2000 matches similar to: "Routing error for stylesheets in rails 3.0"
2012 Jul 03
2
Plugin help Tabbed view in Rails 3
Hi,
I am trying to create a tabbed view for my RoR application where I am
trying to project the same partial by passing some local variables to it,
but I have not been successful so far.Please point to some nice rails
plugins for tabbed panels in rails 3.0 as well as some video or written
tutorials.
Thanks & Regards,
Shalini Sah
--
You received this message because you are subscribed
2009 Dec 12
2
how to print out content of stylesheets in <style> tag via stylesheet_link_tag
Hi!
I''m developing facebook apps with ruby on rails. My connection is really
slow. The stylesheets do not load mosts of the time.
So i want to print out the content of my .css-files in <style> Tags. Is this
possibe with some parameter to the stylesheet_link_tag or an other tag?
Greetings from Germany
Klaus
--
You received this message because you are subscribed to the Google
2006 Jun 01
10
Stylesheets not being recognized
I am a newbie, but have worked through 4 or 5 tutorials. I am using
InstantRails. The problem is that I cannot determine how the style is
being included. I have modified the stylesheet from
/public/stylesheets/, even removed it. All to no avail. The inline
<style>...</style> code is still being included from somwhere. Where?
What am I missing?
thanks,
steve
--
Posted via
2006 Apr 14
1
[OT] Serving Multiple Stylesheets
I was wondering whether there is unbearable overhead involved in breaking css
into multiple stylesheets? I''m running lighttpd, and the following article
discusses why one might want to do that:
http://justinfrench.com/?id=141
My CSS is beginning to get a bit lumpy to digest in one glance and the
article(s) seem to make a cogent argument for separating functional elements
out. I just
2006 Jun 22
4
stylesheet linking and layouts
In my layout, I have something like (shortened for clarity):
<html>
<head>
<%= stylesheet_link_tag "index", :media => "all" %>
</head>
<body>
<div id="site-container">
... <cut for space>
<%= @content_for_layout %>
... <cut for space>
</div>
</body>
A view action has another stylesheet defined
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand.
Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
Anyway, I set the default route in routes.rb to be
map.connect '''', :controller => "placements", :action => ''list''
which worked once I figured out apache...
Anyway, now that I have done that, all attempts
2006 Mar 07
1
Relative stylesheet reference
Problem: The HREF generated by the stylesheet_link_tag is an absolute path.
Details:
The layout for my view has the following line
<%= stylesheet_link_tag ''scaffold'' %>
At runtime, this gets translated to
<link href="/stylesheets/scaffold.css" ... />
This does not get resolved correctly. The problem is the leading slash. It should be
<link
2006 Aug 18
2
Including CSS from a stylesheet file in a an e-mail
How can I include the contents of the file /public/stylesheets/print.css in an
RHTML page for ActionMailer? Because there is no controller or session, none
of the usual tricks work.
Do you have to use basic file IO or there some convenience method I haven''t
seen?
Thanks
Ashley
--
"If you do it the stupid way, you will have to do it again"
- Gregory Chudnovsky
2008 Mar 18
5
stylesheet link causing routing error
Hi - I think this is a simple 2.0 conversion issue. In my application
layout, I have a simple stylesheet link tag:
<%= stylesheet_link_tag ''application'' %>
In my public/stylesheets directory, I have application.css
When my pages are rendered, I get:
<h1>Routing Error</h1>
27<p><pre>No route matches "/stylesheets/application.css"
2008 Apr 13
2
Help with Apache2 and stylesheet
I have problems with my <%= stylesheet_link_tag ''example'' %> with apache
. I have my css file under public/stylesheets/example.css, but it seems
apache can''t read it.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Jun 29
3
stylesheets
hi,
all
i have been playing around with rails for sometime,
i have seen most not all of the rails sites have similar look and feel (good
one)
i want to know how to use the stylesheets provided by the RoR framework if
any
or is it that we have to define on our own from scratch.
basiclly i need information regarding how can i make my view better
looking(the visuals)
Thanks in advance
warm
2008 May 03
1
is it possible to let users define/customize their own stylesheets?
I have a blog feature on part of my site which essentially is just a
Posts and Comments controller. I was wondering if it''s possible to
let users define or customize their own stylesheets for their blogs
similar to how tumblr.com or blogger.com. Anyone know how?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
Hi,
I''ve got following two files with same names under javascripts and
stylesheets directories as:
- app/assets/javascripts/test_vendor.js
- app/assets/stylesheets/test_vendor.scss
Essentially a JS and an stylesheet files with same name.
--------------------------------------------------------------
I want these files to be precompiled and served from public directory.
Thus I
2006 Aug 11
6
css - location of files.
Hi all.
I have the following scenario.
http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %>
to define the stylesheet for layout, I have myapp_standard.css in
/public/stylesheets and it works fine.
However, in the stylesheet I define a image to use for my site
background. eg:
html, body{
background-image: url(mysite_background.jpg);
padding-top:
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts,
I am in the process of switching servers for my application.
Before the move everything was working properly.
After the move
<%= stylesheet_link_tag ''/stylesheets/styles.css'' %>
generates
<link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
2006 Feb 12
9
CSS in Views
How can I link to a CSS file in one of my view files?
--
Posted via http://www.ruby-forum.com/.
2007 Jan 19
4
Problem with link tags
Hell all,
I have a layout were I add my stylesheets and javascript in the
following manner:
<%= stylesheet_link_tag "/form" %>
<%= stylesheet_link_tag "/text" %>
<%= javascript_include_tag :defaults %>
But what happens is that in the actual web page the source is the
following:
<link href="/form.css?1168168516" media="screen"
2007 Dec 09
5
Browserized Styles Plugin
Browserized Styles provides a dead simple way to create browser-
specific CSS code for use in a Rails application. All you need to do
is create a .css file targeted to a browser by appending an underscore
and identifier to the end.
=== Installation ===
script/plugin install http://svn.intridea.com/svn/public/browserized_styles
=== Example ===
Let''s say I have some complex CSS code
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ...
I have been porting my app from dev environment on Webrick to Apache
with FastCGI. I have the app responding and pulling up the data, but it
is ignoring the "images", "stylesheets", "javascripts" directories
located in the public directory.
I''m running Apache under Suse Linux 9.x. Here is the information that I
have in my vhosts.conf file:
2007 Feb 15
1
Images and stylesheets are not serving
Hello
One of ours sites has just lost all it''s images and styling.
It''s not a very busy site at all, so it might have been not working
properly for some time now.
Here''s how we start it in Lighty
<pre>
$HTTP["host"] == "gregynog.glam.ac.uk" {
server.document-root = "/www/rails/greg/current/public/"
server.error-handler-404 =