Displaying 20 results from an estimated 21 matches for "rcss".
Did you mean:
rcs
2006 Mar 03
17
RCSS problems
Hi List!
Following http://rcss.rubyforge.org/files/README.html, I''m trying to get
RCSS to work with Rails. The rcss command itself works fine, but when
trying to access http://localhost:3000/rcss/test.css I always get
"Unknown action - No action responded to test.css", which I don''t
understand sin...
2005 Oct 18
1
Rcss - first public release
Hi All!
My first contribution to Ruby/Rails community is ready. Here is short
snippet from README as an overview:
Rcss implements CSS-SSC (Server-side Constants) in Ruby.
Main features:
* Create rich CSS files using:
- ERB templates
- Server-side constants
- Server-side classes (preliminary)
* Simply add Rcss files to any Rails application
* Process Rcss files off-line using command line executable
Imple...
2006 Mar 23
5
Dirt simple .rcss templates
There was some discussion on this list recently about doing .rcss
templates in Rails using a custom template handler. I''ve come up
with a very simple way to support rcss without a handler. Turns out
all it takes is a route and an action that calls render(:file...). I
put a full write-up on my blog earlier today:
http://blog.hasmanythrough.com...
2007 Aug 21
1
Render template not matching absolute path
...this:
class StylesheetsController < ApplicationController
layout nil
session :off
def gap
site = Site.find_by_hostname(request.host)
@colours = site.colours
respond_to do |accepts|
accepts.css { render :file => "#{RAILS_ROOT}/app/views/
stylesheets/gap.rcss" }
end
end
end
And I want to test that it renders the gap.rcss file, but my spec,
it "should render the gap.rcss template" do
do_get
response.should render_template("gap.rcss")
end
fails with this error:
Expected "gap.rcss", got...
2006 Jan 22
2
Using register_template_handler to serve CSS files (Making ActionView handle .css as .rhtml)
Hi,
I wanted to be able to use some Rails code inside CSS files, so I set up
a controller (StylesController) to serve CSS files that reside inside
the controller''s view folder when the browser requests /stylesheets/:action
So in the controller I just define empty actions with the names I want
my style sheets in (ie: def cooleffects end - that would respond to
2008 Apr 15
0
How to cache dynamic CSS (RCSS)?
Hi,
I''m using this tutorial: http://blog.hasmanythrough.com/2006/3/23/dirt-simple-rcss-templates
to make dynamic CSS files. However I can''t figure out how expire
cached CSS files.
Here''s my code: http://pastie.caboo.se/181021. Most of it is copied
from the tutorial.
Files are cached properly - i.e.
<%= stylesheet_link_tag "main" %> generates "...
2006 Apr 13
2
Content-type on render :file
Hi all,
I''ve just been trying out the dirt-simple rcss scheme posted here:
http://blog.hasmanythrough.com/articles/2006/03/23/dirt-simple-rcss-templates
It looks like the content-type declaration on the line:
render :file => file_name, :content_type => ''text/css''
isn''t getting honoured. I had to add a separate:...
2006 Aug 03
1
Using instance variables in CSS
What suggestions do you guys have for using instance variables in CSS?
I suppose I could just include a partial with style tags, but I''m
looking for something a little more elegant.
I found this: http://rcss.rubyforge.org/ Has anyone used it?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 02
3
plugin versioning
When I install a plugin, does Rails record the version installed anywhere?
Maybe I''m not doing it the "right" way, but I''ve excluded vendors from my
source repository. I''d like some ''record'' of what plugins are used that is
under source control.
David
2005 Aug 26
1
Help in Compliling user -defined functions in Rpart
...m(wt*(y-wmean)*(r-0.5))/sum(wt*y)
devci<-abs(ci)*(1-abs(ci))
if(continous){
lss<-cumsum(wt*y)[-n]
rss<-sum(wt*y)-lss
lw<-cumsum(wt)[-n]
rw<-sum(wt)-lw
lm<-lss/lw
rm<-rss/rw
lcss<-cumsum(wt[1:length(lm)]*(y[1:length(lm)]-lm)*(r[1:length(lm)]-0.5))
rcss<-sum(wt*(y-wmean)*(r-0.5))-lcss
lci<-2*lcss/lss #concentration index for left side
rci<-2*rcss/rss #concentration index for right side
devlci<-abs(lci)*(1-abs(lci)) #deviance for left side
devrci<-abs(rci)*(1-abs(rci)) #deviance for right side
good...
2006 Mar 22
5
Adding Custom templates?
Hi, does anybody have any pointers on where to look to learn how to
write custom dynamic templates? Agile is a little sparse on this (but
otherwise superb)!
Thanx
--
Posted via http://www.ruby-forum.com/.
2010 Jan 09
1
errors when installing packages (ubuntu)
...O2 -c multeb.f -o multeb.o
gfortran -fpic -g -O2 -c multgb.f -o multgb.o
gfortran -fpic -g -O2 -c multrb.f -o multrb.o
gfortran -fpic -g -O2 -c radbas.f -o radbas.o
gfortran -fpic -g -O2 -c radfn2.f -o radfn2.o
gfortran -fpic -g -O2 -c radfun.f -o radfun.o
gfortran -fpic -g -O2 -c rcss.f -o rcss.o
gfortran -fpic -g -O2 -c rcssr.f -o rcssr.o
gfortran -fpic -g -O2 -c rcsswt.f -o rcsswt.o
gfortran -fpic -g -O2 -c sortm.f -o sortm.o
gcc -std=gnu99 -shared -o fields.so css.o csstr.o cvrf.o dchold.o dcopy.o
ddfind.o ddot.o derrb.o dlv.o dmaket.o drdfun.o dsetup.o evlpoly.o
evl...
2006 Jul 14
3
css in builder
Hello,
I''m reading the builder project API (http://builder.rubyforge.org/), but
I don''t find the answer to my question: Wich is the file name for CSS
templates? (like RXML to XML).
--
Daniel H
2006 Mar 01
1
Using delegate templates
Ok, it looks like what I need to do is use a delegate
template, but I can''t find anything anywhere online.
Has anyone ever used this feature before and could
possibly explain it to me please?
--
Topher Fangio
fangiotophia@gmail.com
http://www.fangiotophia.com
Website Specialist
Fangiotophia Designs
(325) 660-7141
2007 Oct 06
1
problem installing fields package 3.5 on R 1.8.1 on linux
...eee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c multrb.f -o
multrb.o
g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c radbas.f -o
radbas.o
g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c radfun.f -o
radfun.o
g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c rcss.f -o
rcss.o
g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c rcssr.f -o
rcssr.o
g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c rcsswt.f -o
rcsswt.o
g77 -mieee-fp -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -c sortm.f -o
sortm.o
gcc -shared -L/usr/local/lib -o fields.so css...
2006 Jun 04
1
Image links in stylesheets?
Guys,
I understand the logic behind using image_tag in rhtml to maintain app
portability, but how do you link to images in a stylesheet maintaining
that same portability?
Thanks for your help!
B.A.
--
B.A. Baracus: I thought you weren''t crazy no more?
Murdock: Only on paper.
--
Posted with http://DevLists.com. Sign up and save your mailbox.
2005 Dec 13
0
Features for next webgen release [comp.lang.ruby]
...r for Rote (but probably for plain XML mainly),
as well as a similar CSS thing[1]. Maybe it could be useful in webgen...?
Anyway, just some ideas... :)
Cheers,
Ross
(p.s. Good work on Webgen - it''s excellent, so thanks :))
[1] http://lunchroom.lunchboxsoftware.com/articles/2005/08/19/rcss-anyone
--
Ross Bamford - rosco at roscopeco.co.uk
2002 Oct 24
1
package installation
...I had R working since version 1.4. Then I bought a new HD and installed
a RH 7.3 on it and since then I can no longer install any R package.
Here is the failure message I obtain:
...
g77 -fPIC -O2 -m486 -fno-strength-reduce -g -c sortm.f -o sortm.o
gcc -shared -o fields.so css.o csstr.o cvrcss.o cvrf.o dchold.o dcopy.o
ddot.o dlv.o dmaket.o
drdfun.o dsetup.o expbs.o expfn.o
gaspbs.o gaspfn.o gcvcss.o
gcvf c.o hsort.o
ifind.o inpoly.o lscv.o m2deb.o mkpoly.o mltdrb.o mltdtd.o msort.o
m...
2003 Jun 14
4
problem installing packages from source on win2k
...p/R.INSTALL/fields/chm/fields.chm': No such file or directory
make[1]: *** [chm-fields] Error 1
make: *** [pkg-fields] Error 2
*** Installation of fields failed ***
See below for full log of stdout and stderr from the installation attempt.
#########################################
STDERR:
cvrcss.f: In subroutine `cvrcss':
cvrcss.f:61: warning: `cvmin' might be used uninitialized in this function
cvrcss.f:63: warning: `best' might be used uninitialized in this function
cvrcss.f:65: warning: `trbest' might be used uninitialized in this function
gcvcss.f: In subroutine `gcvcss...
2006 Apr 02
6
Neat style trick
Not terribly exciting, but I was happy to think of it.
I needed a div with a fixed height that could vary depending on page
content.
So I did this:
<div class="listcntnr" style="height: <%= @users.size / 2 * 125%>px">
Whee!
--Al Evans
--
Posted via http://www.ruby-forum.com/.