I am migrating to rails 2.3.2 What I found confusing is that in some cases when I have a template named: "something.html.erb" it is looking for "something.erb", but in other cases "something.html.erb" works fine. I looked at a couple of cases and did not see any obvious reason why that seemed to be the case where it was looking for one type of file name in one place and a different in another.
on 2009-05-28 17:52
on 2009-05-28 17:54
On Thu, May 28, 2009 at 8:51 AM, firstname.lastname@example.org <email@example.com>wrote: > that seemed to be the case where it was looking for one type of file > name in one place and a different in another. > > Please post the relevant code that's requesting something.erb so that we can better assist. -Conrad
on 2009-05-28 18:03
I think I figured out what was going on. When I had a file named "something.html.erb.save" in the view directory, rails 2.3.2 for some strange reason decided to render that template instead of "something.html.erb". When I deleted "something.html.erb.save" then rails 2.3.2 looked for "something.erb" which did not exist, though something.html.erb" did exist. When I restarted web brick however after deleting "something.html.erb.save", then it did find "something.html.erb" ok. So Rails was keeping state info when the server was running