Displaying 20 results from an estimated 8000 matches similar to: "Rcss - first public release"
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 since the route and controller are in place.
Anyway, hopefully this is
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:
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
2007 Aug 21
1
Render template not matching absolute path
Hi
I have a simple controller method like 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
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
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see
''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too
slow, I thought I''d proxy to WebBrick via Apache.
I am having routing problems now with escaped slashes in the URL.
Here''s my routes.rb:
map.connect '''', :controller => "wiki"
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:
2005 Dec 18
8
Log viewer for colorized logs
Is there a decent log viewer for colorized log files?
less -r for me doesn''t work well, as it sometimes clears the screen.
I''d like:
* Either a console type less viewer which just removes the colors
* Or, even better, a console one which handles the colors without
clearing the screen
* Or, best of all, a GUI viewer - maybe even with color
I use both Windows and Linux.
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 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 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
2010 Jan 09
1
errors when installing packages (ubuntu)
Hi List,
I'm having problems installing certain packages. When I try to install
fields, I get the output below. I have highlighted the what I perceive as
the first error (spam seems to be a dependency of fields). Can I assume this
is causing dependency problems for fields, which fails to install at the
end, or is there a deeper problem? I run Ubuntu Karmic Koala on R 2.9.2.
2>
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
2006 Mar 31
6
string interpolation - #{} vs. single vs. double quotes
Could someone point me to documentation that provides a succinct and accurate description of the difference between interpolation using #{}, single quotes, and double quotes ?
I imagine there''s a set of precedence rules that govern behavior if/when they''re mixed. I''d like to get clear on this.
Thanks,
Bill
-------------- next part --------------
An HTML attachment was
2006 Feb 22
5
svn externals and Edge Rails
Hi all:
I am considering using edge rails so I can use join tables. I want to
use svn:externals to manage edge rails, however I want to understand
it more before I go and set everything up. so everytime I commit my
app it will pull the most recent version of rails from the svn
repository, right? What if the current version of rails is unstable,
is there a way to rollback edgerails and NOT my app?
2023 Mar 20
1
multi-site DNS confusion
Greetings,
I'm not sure what else to add. If you need more info please let me know.
Any input is greatly appreciated.
Eric
On Sat, Mar 4, 2023 at 2:58?PM Eric <rvwbug at gmail.com> wrote:
> Greetings,
>
> This is my first attempt at multi-site with unique subnets (actually
> first attempt at more than on DC).
>
> I had the existing "defaultFirstSite"
2006 Jun 12
1
filter/exclude confusion ???
I am running rsync -avz from [A], to pull a directory from [B].
I want to _exclude_ several directories on [B] from being pulled across.
Since these directories have short names, I hope that I can either
specify them inline rsyncd.conf on [B]; or, inline to the CLI on [A].
I am confused with man rsyncd.conf, where the manpage states:
"it only applies on the daemon"
I have tried
2006 Mar 23
6
[mongrel] [fedora5] install error " can''t find ruby libs"
Installed Fedora5.
Installed Ruby 1.8.4.
Installed rubygems.
Installed rails.
Created test app to verify that ruby and rails were working.
When I attempted to install mongrel via:
sudo gem install mongrel
I get this error:
Install required dependency daemons? [Yn] y
Install required dependency gem_plugin? [Yn] y
Building native extensions. This could take a while...
can''t find
2006 Mar 17
3
Open .ssc .S ... files in R (PR#8690)
----- Quick summary:
In the File:Open dialog, please change
"S files (*.q)"
to
"S files (*.q, *.ssc, *.S)"
and show the corresponding files (including .SSC and .s files).
----- Background
This is motivated by the following query to R-help:
>Date: Thu, 16 Mar 2006 22:44:11 -0600
>From: "xpRt.wannabe" <xprt.wannabe at gmail.com>
>Subject: [R] Is
2006 Jun 27
2
testing - how to get access to an instance variable
inside controller
def foo
@city = City.find(@params[:id])
@city.bar = 1234
end
While writing functional tests how do I ensure that the @city.bar is 1234?
def test_edit
get :edit, :id => 1
assert_not_nil assigns(:city)
#?? how to assert that city.bar is 1234
end
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: