similar to: CSS for flash messages

Displaying 20 results from an estimated 10000 matches similar to: "CSS for flash messages"

2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now, and have exhausted my web research options: /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in `require'': no such file to load -- /usr/home/matthew.feadler/rails/avclfc/public/../config/environment (LoadError) from /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2006 Feb 28
6
How To Validate Boolean Form Field
Hello all. I''ve got the following in my model: class Individual < ActiveRecord::Base validates_presence_of :first_name, :last_name, :street, :city, :state, :zip validates_acceptance_of :AZ_resident, :message => "You must be an Arizona resident." end The AZ_resident field is present and defined as boolean (PostgreSQL 8.1), but validation will not occur.
2006 Apr 18
6
scaffold.css
Hi there, I have been working on Rails applications for sometime and lately trying my hands on beautification of the same. Now the problem that I am facing in here is whatever design or layout I try to apply to a particular application is visible to the rest of the applications also! I mean...I am not able to apply different designs to different applications. If anybody could help. Thankyou. --
2006 Apr 02
2
Recommend a good CSS forum?
Hi folks, I''m curious if anyone can recommend a good CSS forum, mailing list or users group, similar to this Rails list. I''ve found this list incredibly friendly and useful, and I''d like to find a forum to seek and give help on stylesheet stuff, which is beyond the scope of the Rails list. Thanks! Jeff -- Posted via http://www.ruby-forum.com/.
2008 Sep 23
6
No css formatting
I''ve just moved a rails site across to a test server from my development PC. I''ve frozen rails and put all the relevant gems into the vendor/gems directory too. I''ve migrated the mysql database and configured Apache with Phusion Passenger. I can access the site and the content is fine. The formatting however, has disappeared - it''s as though the css file does
2006 Apr 16
11
RJS templates not found
I am running Rails 1.10 and wanted to check out the RJS templates. Rails doesn''t seem to find them. I did issue the rake comment update_javascripts and that did not correct the problem. RJS is part of 1.1 right? Any ideas? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jul 31
2
**NewBIE** CSS reference in view pages...
I''m a newbie...I have this CSS file created STYLES.CSS which i want to cll into every page under views...how can i do that...<link> tag doesn''t seem to be working here...any help is greatly appreciated...thanks! -- Posted via http://www.ruby-forum.com/.
2006 Apr 10
8
Advice on Similar Views with Helpers
I have some embedded tables that form different sections of a view. I find that I use the same look for certain ones which means I have to duplicate the same exact table for each section that''s similar. Is there a way to do.. hmm.. well.. kind of like what a layout does using @content_for_layout, but for a partial. Does that make any sense whatsoever? :) OK so here''s some
2008 Feb 24
6
Rails 2.0/Autotest "Color is not a class"
I''ve made a model called Color to manage custom styles for my application. It works find when I''m running it locally in Mongrel, and I haven''t tried to deploy it yet. I use ZenTest and Autotest, and when I run autotest I''m getting the following message: "C:/rails/band/trunk/app/models/color.rb:1: Color is not a class (TypeError)" My Color model is
2006 Jan 25
1
Flash CSS issues
I''m have issues in IE6 with my CSS for my flash[:notice] and flash[:error]. My CSS is as follows (basically copied from backpack''s CSS file for testing purposes): #Flash { text-align: left; border: 1px solid #ccc; padding: 5px 5px 5px 30px; font-size: 14px; margin: 0 auto 12px auto; margin-right: 7px; } .login #Flash { margin-top: 12px; font-size:
2006 Apr 13
7
Complex SQL in paginate command?
Hi all, Is there a way to create pagination with a complex SQL, more complex than the :conditions option will support? I have two databases, houses and images. Houses has_many images, and each Image belongs_to house. I''m creating a search engine for the house records and I''d like to be able to filter out all the houses without any associated images. So far I''m
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears, My Ror setup works.. but I can''t guess why <%= stylesheet_link_tag ''style'' , :media=> ''screen''%> is rended as <link href="/stylesheets/style.css?1154009736" media="screen" rel="Stylesheet" type="text/css" /> What is that number.. any usage ?? Or I misconfigured something ? Thanks
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/.
2006 Mar 09
4
Strange Unit Testing error - newbie question
I''m fairly new to Rails, and I''ve been learning from AGILE WEB DEVELOPMENT WITH RAILS. Everything has been going smoothly until the chapter on Unit Testing, where I''m getting some strange errors. I''m up to page 141 in the Agile book, and attempting to run the test program containing the method test_read_with_hash. The previous tests work properly, but 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 Apr 07
3
Logging And Environment
Hi All, Couple easy questions: 1. How do I view what environment my app is running under (i.e production / testing / development) - I''m not sure what RAILS_ENV is set at, how to I take a look at it? 2. Somehow (?) I have turned logging "off". I''d like to have it back on :s I have files called production.log, test.log, server.log, development.log in /myapp/log/ but
2005 Dec 08
6
Bug in Effect.Highlight ?
Hi All, I''ve just discover scriptaculous and it is a really good library. Even if I have some difficulties with short syntax in javascript code :/ I have a strange behaviour with Effect.Highlight, and as it''s said on bug report page : "It''s also a good idea to discuss this on the Mailing List beforehand, maybe it''s already known and in the works, or it
2006 Apr 18
7
freeze_gems to upgrade and SVN
Hi all- I just decided to move from my 1.1.0 to 1.1.2. I had previously frozen to 1.1.0 and therefore had all of rails in SVN in my vendor directory. When I finally got rake freeze_gems to work, it blasted (rm -rf) my vendor/rails directory and put a new one in there. This also blasted all my .svn directories. Is there some convenient way to do a freeze upgrade and play well with SVN?
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been able to call it the way you call "appear", "fade", etc... Jeff -- Posted via http://www.ruby-forum.com/.
2005 Jun 24
1
Any status on timestamp vulnerability fix for 4.X?
Any information on when (or if) the following timestamp vulnerability will be fixed for 4.X? Any information would be appreciated. http://www.kb.cert.org/vuls/id/637934 Thanks. Richard Coleman rcoleman@criticalmagic.com