Frederick,
FC> On Dec 18, 9:14 am, Ralph Shnelvar <[email protected]> wrote:
>> Because my ISP is giving me zero help in fixing a problem I fee is his
>> problem, I have decided to migrate my code to Heroku.
>>
>> I attempted a port but the port failed. Oh well, it was worth a try.
>>
>> So, instead, I did "Hello, world" by doing
>> rails new ultradedup001
>>
>> I actually saw the "Welcome aboard" screen
>> athttp://ultradedup001.heroku.com/(Yay!)
>>
>> When I then clicked on "About your application’s environment", I see
>> "The page you were looking for doesn't exist." in what appears to be a
>> frame. I suspect this is generated in javascript.
>>
FC> The /rails/info route is only setup in development, so if your heroku
FC> deployment is running in production it's normal for it not to work.
Could you PLEASE elaborate. Please elaborate, for instance, why the same code
is running in development on my test machine but is running in production on
heroku?
And could you please suggest a fix.
- - - -
Finally, routes.rb is, to me, very different than the routes.rb that I am used
to.
What I have
ActionController::Routing::Routes.draw do |map|
# map.resources :orders
map.resources :home, :only => [:index, :show]
map.resources :signed_in, :only => [:index, :show]
map.connect ':controller/:action/:id'
map.connect ':controller/:action.html'
map.connect ':controller/:action.htm'
map.root :controller => :home
end
is similar to what is taught by Dave Thomas in *Agile Web Development in Rails*.
Is there an (easy) tutorial on how to use the routes sample generated by the
"rails new" command?
Ralph
--
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.