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.

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

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.

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!
:frowning:
I am surprised why is this happening…even after different names to the
css!!!

Jeff C.man

Thanks.

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!
:frowning:
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

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… :smiley:
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 :wink:
Thankyou.

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… :smiley:
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 :wink:
Thankyou.

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