Freddy Andersen wrote:
> Wow there are just so many issues...
> 
> First I would highly recommend that you have the same rails version in
> both environments... Is there a reason why you want 1.2.6 on one
> machine and 2.1 on a different machine? These versions are very
> different and I'm sure you will find numerous of issues using the same
> app on 1.2 and 2.1...
> 
> Next the routing:
> In your routes you have
> 
> :controller/:action/:id
> 
> Which should be
> 
> localhost/say/hello (the localhost/controller/say/hello Not sure how
> that works in your local environment)
> 
> Did you change the rails version in your environment.rb file when you
> tested the code on the other env.?
> 
> Could you show your app/controllers/say_controller.rb here?


Thanks for getting back to me on this.

In both my local and remote environment.rb file I have the rails version 
set ast this:

RAILS_GEM_VERSION = '1.2.6'

Unfortunately, for our main work project, we are running our app on a 
1.2.6 rails version so it's safer to run all other apps on this version 
as well on localhost.

Here's my SayController code:

class SayController < ApplicationController
  def hello
  end
end
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to