Rcss evolved from a small article to quite a chunk of Ruby software. It has it’s own project page and can be installed as standard gem:
# gem install rcss
Detailed RDoc documentation for Rcss is also available.
Update
Unfortunatelly it does not work properly. There is something wrong with my Ruby installation – and gem I have created is not recognized on different platform than mine.
I am working on it.
1 comments:
Rails level: Newbie.
I like the idea of rcss and want to retrieve a few css parameters from a database. I assume I need to get these variables into the rcss template by passing them as local_assigns in the render method. My problem is I can't seem to get the local assigns through. I've gone as far as to modify the render action in the rcss.rb lib file and have it return "template.inspect" (to be sure it's returning something) and then "local_assigns.inspect" which comes back empty every time.
I'm probably missign something but can't figure it out. Is the render method not passing this through??
Post a Comment