# Scaffold.css

**URL:** <https://www.ruby-forum.com/t/scaffold-css/94024>\
**Category:** Rails\
**Created:** [April 18, 2006, 8:41am UTC](https://www.ruby-forum.com/t/scaffold-css/94024 "2006-04-18T08:41:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 8:41am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/1 "2006-04-18T08:41:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 8:49am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/2 "2006-04-18T08:49:36Z")

</div>

Newbie wrote:

> 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.

Each of your Rails applications should have its own directory structure,  
its own public/ directory, and its own public/stylesheets/scaffold.css.  
There shouldn’t be any way for different applications to share that  
file.

Also, you can change the name of “scaffold.css” and include whichever  
CSS files you need to in your layout.

Jeff C.man

---

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 8:53am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/3 "2006-04-18T08:53:30Z")

</div>

Jeff C.man wrote:

> Newbie wrote:
> 
> > 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.
> 
> Each of your Rails applications should have its own directory structure,  
> its own public/ directory, and its own public/stylesheets/scaffold.css.  
> There shouldn’t be any way for different applications to share that  
> file.

It does…every aplpication has its own directory structure, by no way  
are they following a common structure.  
I doubt!

> Also, you can change the name of “scaffold.css” and include whichever  
> CSS files you need to in your layout.

Yeah…this can be though about. Lemme give it a try.

> Jeff C.man

Thanks.

---

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 9:00am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/4 "2006-04-18T09:00:48Z")

</div>

Newbie wrote:

> Jeff C.man wrote:
> 
> > Newbie wrote:
> > 
> > > 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.
> > 
> > Each of your Rails applications should have its own directory structure,  
> > its own public/ directory, and its own public/stylesheets/scaffold.css.  
> > There shouldn’t be any way for different applications to share that  
> > file.
> 
> It does…every aplpication has its own directory structure, by no way  
> are they following a common structure.  
> I doubt!
> 
> > Also, you can change the name of “scaffold.css” and include whichever  
> > CSS files you need to in your layout.
> 
> Yeah…this can be though about. Lemme give it a try.

DIDN’T WORK!  
☹  
I am surprised why is this happening…even after different names to the  
css!!!

> > Jeff C.man
> 
> Thanks.

---

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 9:17am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/5 "2006-04-18T09:17:07Z")

</div>

Newbie wrote:

> Newbie wrote:
> 
> > Jeff C.man wrote:
> > 
> > > Newbie wrote:
> > > 
> > > > 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.
> > > 
> > > Each of your Rails applications should have its own directory structure,  
> > > its own public/ directory, and its own public/stylesheets/scaffold.css.  
> > > There shouldn’t be any way for different applications to share that  
> > > file.
> > 
> > It does…every aplpication has its own directory structure, by no way  
> > are they following a common structure.  
> > I doubt!
> > 
> > > Also, you can change the name of “scaffold.css” and include whichever  
> > > CSS files you need to in your layout.
> > 
> > Yeah…this can be though about. Lemme give it a try.
> 
> DIDN’T WORK!  
> ☹  
> I am surprised why is this happening…even after different names to the  
> css!!!
> 
> > > Jeff C.man
> > 
> > Thanks.

Are you sure you’re talking about different Rails applications?

A Rails application always has a standard directory structure, and it  
always has a public/ directory, and a public/stylesheets directory. One  
Rails application doesn’t really have the ability to reach out of its  
own public/ into the public/ directory of another application.

And you’re running multiple Rails applications on your home computer?  
Did you start each application with “ruby script/server”?

If you could describe a little more about each application, and how you  
made it, that might make things clearer.

For example, to make a Rails app called “blog”, I’d type “rails blog”  
and it would create the directory structure for that application.

Then I might change directories and type “rails cookbook” to make a  
cookbook app.

To run the blog app I’d go into its root directory (C:\blog\ for  
example) and type “ruby script/server”. To run the cookbook I’d switch  
to C:\cookbook\ and type “ruby script/server”, but I wouldn’t be able to  
run both at the same time without specifying which port for WEBrick to  
run on, otherwise I’d get an error message.

Does this sound like what you’re doing?

Jeff C.man

---

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 9:40am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/6 "2006-04-18T09:40:15Z")

</div>

> Are you sure you’re talking about different Rails applications?
> 
> A Rails application always has a standard directory structure, and it  
> always has a public/ directory, and a public/stylesheets directory. One  
> Rails application doesn’t really have the ability to reach out of its  
> own public/ into the public/ directory of another application.
> 
> And you’re running multiple Rails applications on your home computer?  
> Did you start each application with “ruby script/server”?
> 
> If you could describe a little more about each application, and how you  
> made it, that might make things clearer.
> 
> For example, to make a Rails app called “blog”, I’d type “rails blog”  
> and it would create the directory structure for that application.
> 
> Then I might change directories and type “rails cookbook” to make a  
> cookbook app.
> 
> To run the blog app I’d go into its root directory (C:\blog\ for  
> example) and type “ruby script/server”. To run the cookbook I’d switch  
> to C:\cookbook\ and type “ruby script/server”, but I wouldn’t be able to  
> run both at the same time without specifying which port for WEBrick to  
> run on, otherwise I’d get an error message.
> 
> Does this sound like what you’re doing?
> 
> Jeff C.man

YES Jeff!  
I am not so new after all… 😃  
I know all this.  
But thanks sooo much, I guess I am doing something really stupid.  
Lemme fix it up myself.  
If I need anything more, I know whom to ask 😉  
Thankyou.

---

<div class="post-metadata">

**Author:** ![newbie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dc4da7/32.png) [@newbie](https://www.ruby-forum.com/u/newbie)\
**Post date:** [April 18, 2006, 9:47am UTC](https://www.ruby-forum.com/t/scaffold-css/94024/7 "2006-04-18T09:47:21Z")

</div>

Newbie wrote:

> > Are you sure you’re talking about different Rails applications?
> > 
> > A Rails application always has a standard directory structure, and it  
> > always has a public/ directory, and a public/stylesheets directory. One  
> > Rails application doesn’t really have the ability to reach out of its  
> > own public/ into the public/ directory of another application.
> > 
> > And you’re running multiple Rails applications on your home computer?  
> > Did you start each application with “ruby script/server”?
> > 
> > If you could describe a little more about each application, and how you  
> > made it, that might make things clearer.
> > 
> > For example, to make a Rails app called “blog”, I’d type “rails blog”  
> > and it would create the directory structure for that application.
> > 
> > Then I might change directories and type “rails cookbook” to make a  
> > cookbook app.
> > 
> > To run the blog app I’d go into its root directory (C:\blog\ for  
> > example) and type “ruby script/server”. To run the cookbook I’d switch  
> > to C:\cookbook\ and type “ruby script/server”, but I wouldn’t be able to  
> > run both at the same time without specifying which port for WEBrick to  
> > run on, otherwise I’d get an error message.
> > 
> > Does this sound like what you’re doing?
> > 
> > Jeff C.man
> 
> YES Jeff!  
> I am not so new after all… 😃  
> I know all this.  
> But thanks sooo much, I guess I am doing something really stupid.  
> Lemme fix it up myself.  
> If I need anything more, I know whom to ask 😉  
> Thankyou.

Hey Jeff!  
I fixed it up.  
Changing names for css helped.  
Thanks.
