similar to: scaffold.css question

Displaying 20 results from an estimated 10000 matches similar to: "scaffold.css question"

2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box displayed at the top of the checkout as described in the tutorial and I cannot seem to discover where I have erred. The scaffold.css is copied from the pragmatic programmers site: #-------------------------------------------------------------------- $ cat public/stylesheets/scaffold.css body { background-color: #fff;
2006 Mar 22
9
Display problem
hey guys, Does anyone know why the french letter "?" is displayed as a question mark "?" inside an <h1> tag ? -- Posted via http://www.ruby-forum.com/.
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 Jan 05
7
repost - Can one edit the file that generates the scaffolding.css?
I am reposting this because not only am I VERY interested in the answer but because I think it would also be useful to many, many people. We kind of have a house-style here, so it would be nice if the generated scaffold.css would accommodate that. My questions are? Is it possible? Is it safe? How? bruce
2006 Mar 23
2
Displaying only titles that starts with a defined caracter.
Hi, I would like to know how to display only titles of products that starts with a defined letter (ie: titles that begin with A) Here is the method that I use to place all titles in alphabetical order: class Livre < ActiveRecord::Base validates_presence_of :titre; def self.alpha find( :all, :order => "titre ASC" ) end end
2006 Jul 19
4
How do I overwrite/extend a scaffold module?
I have many pages to generate quickly. They are based off of the scaffold generator, but I want to convert the rhtml files to Markaby, and change some formatting. Without having to do a lot of repetitive hand editing. Is there a simple way to overwrite/extend part of the scaffold generator? Do I need to write my own from scratch? -- Best Regards, -Larry "Work, work, work...there is no
2006 Apr 19
3
ror css
Hi pretty new to this ROR stuff, ive just created my first simple plication using scaffold, was just wondering if anyone knows of any good tutorials on how to screate custom css stylesheets for these pages. also whats the best way to go about adding a footer / header html images to all pages Thanks scott -- Posted via http://www.ruby-forum.com/.
2006 Apr 05
13
scaffold misuse?
Running ruby script/generate scaffold Product Admin is a wonderful way to set up well, exactly what it says, a scaffold. My problem is that I have several other tables that are linked, through foreign keys, to the Product table. Say an "authors" table. Now when I go enter a new product, a book, I want the application to provide a drop down list of authors generated from the records in
2006 Mar 19
3
Multiple website section = multiple controllers ?
Hi! I am totally new to ruby on rails and dynamic website creation (never done php or asp). I am reading "Agile Web Development with Rails" by D.Thomas, and I am wondering if I need to create multiple scaffold and controllers to be able to create a really basic CMS. Part of the website needed: -http://www.domain.com/ -http://www.domain.com/about/ -http://www.domain.com/articles/
2007 Sep 19
5
problem after scaffolding
hi guys, I am having problems after scaffolding I created a db called "requests" and when i tried to execute the command script/generate scaffold request It gave me an error please make sure you have a database request created before you do this The db is obviously created; rails cant access it... so I tried to hack i copied my view model and controller files from my local deployment to
2006 Jul 03
3
Change the background in a div with CSS
hello everybody, i''m just trying to know this RoR better. And I have a question: - i have a <div> in my scaffold.css and it has a background image. I actually have 5 background pictures and i''d like to use one of them randomly. Do I have to move this div description in another .rb file (where i can do the random pick with ruby?) or is there any other way? i hope it
2009 May 12
3
forms & link css classes - not working
I used a scaffold to create an interface. I''m trying to style it and I''m having trouble. In my css I have: #content a, a:link, a:visited{ color: #ff8400; } #content a:hover{ background: #ff8400; color: #FFFFFF; } #content a.urgent, a.urgent:link, a.urgent:visited { color: #FF0000; } #content a.urgent:hover { color: #FFFFFF; background: #FF0000; } #content input.m_title{
2005 Oct 25
2
generate scaffold ignores controller parameter
Since I upgraded from Rails 0.13.1 to 0.14.1 "generate scaffold <Model> <Controller>" doesn''t take any notice of the controller parameter. Anyone else suffering from this? E.g.: C:\Ruby\work\test>ruby script\generate scaffold User Admin exists app/controllers/ exists app/helpers/ create app/views/users exists test/functional/
2006 Aug 17
6
NameError in AdminController#index building scaffold
I''m a pretty big newbie with ROR, but when following a tutorial I encounter an ugly error when building a scaffold. Here is my environment Dev system: - Windows XP - java version "1.5.0_06" - MySQL java version "1.5.0_06" - Ruby 1.8.4 - Ruby Gems 0.9.0 - Gem install mysql Successfully installed mysql-2.7.1-mswin32 Installing ri documentation for
2006 Jan 04
1
I''d like to edit the scaffolding file - is it possible?
I notice that I begin each project with a standard css file which is the one produced by scaffolding PLUS some other stuff. I could cut and paste a copy from an old project but I thought it would be "cooler" amongst other things (like more efficient) to just have the scaffold.css file be created for me. Is it possible? Is it safe(ish), What would I have to do? Thanks in
2006 Mar 09
8
Problem with scaffolding and table name
Hello, i''m new in ruby rails framework. I have the following problem. I try to create a scaffold for a certain model of my db, but since ruby rails doesn''t assume the table name corectly (its incidents_reported ) i get errors .... Besides renaming the table :) is there a way to ''tell'' ruby rails the name of the table? I haven''t been able to find any
2009 May 27
4
Scaffolding Results Format
Hi Everyone, I built a scaffold and I''m having trouble getting results properly formatted. (I need to get the data into multiple columns instead of just one big column) I can''t get all of my CSS to work properly in scaffold.css, layout/books.rhtml, or the books/index.rhtml.erb Anyways, maybe you have a suggestion. Default view (127.0.0.1:3000/books) Title Abstract
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 Feb 09
13
Howto work with a page not generated by the scaffold ?
I am a newbie Ruby and RoR user. In my tests using the turorials that I found over the web, everthing is working fine and I am very impressed about RoR framework. As I am a Delphi developer, without any web development experience, There is some thing hard to understando and I didn''t find a tutorial about this. I wonder how to create a non-scaffold page ? I have customers,
2008 Feb 21
1
Creating incorrect plurals when generating scaffold
Preface: I''m trying to find my way through the "Build Your Own Ruby on Rails Web Application" book. I''m completely new to programming and am having a hard time figuring out the differences between rails 2.0.2 and what''s in the book so please forgive me if this is a stupid question. I''m confused because I finally thought I''d figured out the