I just removed all my RoR files on my web server and re uploaded them
again because I made so many changes to my application. Now all of a
sudden, I'm getting the LoadError (Expected websites_controller.rb to
define WebsitesController). But this is the first line of my
websites_controller.rb:
class WebsitesController < ApplicationController
Any ideas why I might be getting such a crazy error? My application
worked fine in the past.
And occasionally I get other impossibly unhelpful errors:
uninitialized constant ApplicationController
undefined method `getwebsite' for ApplicationController:Class
no route found to match "/javascripts/prototype.js" with
{:method=>:get}
Hi, you’re calling getwebsite somewhere but you have defined method called getwebpage. Thus, are these to names refer to same code or different code? Also, is everything working locally? If not, then your wasting your time deploying.