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. -- Posted via http://www.ruby-forum.com/.
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 Coleman -- Posted via http://www.ruby-forum.com/.
Jeff Coleman 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 ColemanThanks. -- Posted via http://www.ruby-forum.com/.
Newbie wrote:> Jeff Coleman 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 Coleman > > Thanks.-- Posted via http://www.ruby-forum.com/.
Newbie wrote:> Newbie wrote: >> Jeff Coleman 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 Coleman >> >> 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 Coleman -- Posted via http://www.ruby-forum.com/.
> > 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 ColemanYES Jeff! I am not so new after all.. :D 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. -- Posted via http://www.ruby-forum.com/.
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 Coleman > > > YES Jeff! > I am not so new after all.. :D > 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. -- Posted via http://www.ruby-forum.com/.