My question might be very basic, so please bear with it.
Q.1 suppose i created my rails app as APP1 under the directory /abc/
xyz and then I copy the entire directory to a different location, say /
cde/efg/. Now, if i go in the new location and call the rails server
command, will it work?
I guess it should, never had such an issue but today all of a sudden,
the server doesn't even show a single home page.
P.S. I am not using RVM, and using Rails 3, so the ruby and gemset is
same over both the rails apps.
Q.2 What should one do when the server is showing cached copies of the
previous apps. for example lets say i have app1 : posts(the only model
made by scaffold), app2 : users (the only model made by scaffold) and
similarly one more app. Each one of it is separate, as you all know,
Today , when i created a new application and i started the browser, it
kept on pulling up pages from the cache and didn't show me the views
for the new app. A point to note that the server log is blank, nothing
gets executed as per the server.
P.S. These are not three controlles, rather three whole rails
apps....and my environment is Development, so no point of production
Help me fix these issues.
I posted the above question @stackoverflow.com
Didn't get an answer, why it was happening so? A day later, it all
went fine by itself.
So, I edited my question appending
" I don't know how, but all the issues are fixed now, on their own.
Does any one has any idea what led to this? "
Now, I am having the problems again:
" Initially atleast It was showing me some cached html (or whatever)
of the previous apps from nowhere, but now, its not working at all...i
mean rendering nothing at all. Any idea, where the problems might
Please help me, as I am stuck with this, I can't proceed with my