Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Francis Fish  
View profile   Translate to Translated (View Original)
 More options 25 June, 12:48
From: Francis Fish <francis.f...@gmail.com>
Date: Thu, 25 Jun 2009 12:48:08 +0100
Local: Thurs 25 June 2009 12:48
Subject: Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?

Hi guys,

This is driving me nuts and restarting passenger makes no difference.

If I rename the layout and change the name in the controller then it picks
it up.

CSS seems to suffer from the same problem.

I'm convinced that my 2.2.2 project *just works*. Is there something in 2.3
I've missed?

Thanks and regards,

Francis

Follow me on twitter https://twitter.com/fjfish
Blog at http://www.francisfish.com
(you can also buy my books from there!)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Spurr  
View profile   Translate to Translated (View Original)
 More options 25 June, 15:04
From: Dave Spurr <david.sp...@gmail.com>
Date: Thu, 25 Jun 2009 15:04:47 +0100
Local: Thurs 25 June 2009 15:04
Subject: Re: [NWRUG] Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?
Are you using a virtual machine for your dev env? If so make sure the
clock on your VM is set to the right time. I had a situation once where
I was editing files locally which were then mounted on my dev VM and
changes weren't showing in Rails.

-D

On 25/6/09 12:48, Francis Fish wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francis Fish  
View profile   Translate to Translated (View Original)
 More options 26 June, 16:41
From: Francis Fish <francis.f...@gmail.com>
Date: Fri, 26 Jun 2009 16:41:06 +0100
Local: Fri 26 June 2009 16:41
Subject: Re: [NWRUG] Re: Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?

Nope, I've just upgraded to 2.2.2 by setting the gem version in
environment.rb - bizarre.

Thanks and regards,

Francis

Follow me on twitter https://twitter.com/fjfish
Blog at http://www.francisfish.com
(you can also buy my books from there!)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francis Fish  
View profile   Translate to Translated (View Original)
 More options 29 June, 15:17
From: Francis Fish <francis.f...@gmail.com>
Date: Mon, 29 Jun 2009 15:17:13 +0100
Local: Mon 29 June 2009 15:17
Subject: Re: [NWRUG] Re: Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?

On Fri, Jun 26, 2009 at 4:41 PM, Francis Fish <francis.f...@gmail.com>wrote:

Finally worked this out. I use emacs and it keeps old versions of the files
with handy ~1~, ~2~ extensions. For some reason these were being loaded
instead of the main file. I have a little shell alias that purges these
backup files and things start working if I run it.

Now I suppose I need to go dredging in the part that recognises file names
for HAML. Maybe not.

I had to go back to 2.3.2 because the hybrid wouldn't work with passenger.
At least I know what the problem is now. The give away was looking at error
messages and realising it was referring to the file with the ~ on the end.

Thanks and regards,

Francis

Follow me on twitter https://twitter.com/fjfish
Blog at http://www.francisfish.com
(you can also buy my books from there!)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Caius Durling  
View profile   Translate to Translated (View Original)
 More options 29 June, 15:21
From: Caius Durling <ca...@caius.name>
Date: Mon, 29 Jun 2009 15:21:25 +0100
Local: Mon 29 June 2009 15:21
Subject: Re: [NWRUG] Re: Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29 Jun 2009, at 15:17, Francis Fish wrote:

> Finally worked this out. I use emacs and it keeps old versions of  
> the files with handy ~1~, ~2~ extensions. For some reason these were  
> being loaded instead of the main file. I have a little shell alias  
> that purges these backup files and things start working if I run it.

I've always wondered why text editors do this. If I want to keep the  
history of a file I'll use a source control, if not then don't litter  
my filesystem with "cruft".

Guess its a throwback to times before a simple `git init` created a  
repo for you right? :)

C
- ---
Caius Durling
ca...@caius.name
+44 (0) 7960 268 100
http://caius.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkpIzeUACgkQlj5WkEOM/Nhq6wCgihvcTdi9kogZRbeo79y0S/0T
C8MAn0eyCBkAqr/3zKaNXLO2KtpasesQ
=9RtL
-----END PGP SIGNATURE-----


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francis Fish  
View profile   Translate to Translated (View Original)
 More options 29 June, 17:47
From: Francis Fish <francis.f...@gmail.com>
Date: Mon, 29 Jun 2009 17:47:52 +0100
Local: Mon 29 June 2009 17:47
Subject: Re: [NWRUG] Re: Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?

*sometimes*, very occasionally, it helps. Maybe once a year. Useful when
editing config files too. But you're right about the other 99.9999%. I read
somewhere there's an ubuntu util that creates a git repo for your /etc area
and updates using a daemon whenever a file is changed, but not had a chance
to check it - that would make it worth turning the option off.

I still have it turned on because it's a habit from my 20 years' coding.
Probably *does* need a rethink.

What do other people think?

Thanks and regards,

Francis

Follow me on twitter https://twitter.com/fjfish
Blog at http://www.francisfish.com
(you can also buy my books from there!)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Caius Durling  
View profile   Translate to Translated (View Original)
 More options 29 June, 17:50
From: Caius Durling <ca...@caius.name>
Date: Mon, 29 Jun 2009 17:50:38 +0100
Local: Mon 29 June 2009 17:50
Subject: Re: [NWRUG] Re: Is it just me, or is Rails 2.3.2 not reloading layouts and CSS?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 29 Jun 2009, at 17:47, Francis Fish wrote:

> *sometimes*, very occasionally, it helps. Maybe once a year. Useful  
> when editing config files too. But you're right about the other  
> 99.9999%. I read somewhere there's an ubuntu util that creates a git  
> repo for your /etc area and updates using a daemon whenever a file  
> is changed, but not had a
> chance to check it - that would make it worth turning the option off.

Ooh, I've done that manually. Didn't think to look if someone'd done a  
daemon for it already.

C
- ---
Caius Durling
ca...@caius.name
+44 (0) 7960 268 100
http://caius.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkpI8N4ACgkQlj5WkEOM/NgWSQCfdW7clJzaCVKON0WKAuTt7CnN
AhIAoKyjXNZ27Ytmo6zh3cad8NAcruFa
=E0ze
-----END PGP SIGNATURE-----


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google