getaddrinfo: no address associated with hostname
Can u give me the solution about this?
Thanks
Yagnesh
--
Posted via http://www.ruby-forum.com/.
if yes, you can spend some minutes to :
http://teapoci.blogspot.com/2008/04/list-of-request-params.html
@request.env["HTTP_HOST"] = "www.yourdomain.com"
Reinhart
http://teapoci.blogspot.com
Enjoy !!
Free Ruby eBook :
http://teapoci.blogspot.com/search/label/eBook
Ok when i m going to redirect my Ror application on facebbook
after authintcate the login ,actually application view or home page will
be displayed, instead of that this error msg is coming:
SocketError (getaddrinfo: no address associated with hostname.)
An i m using localhost:
http://127.0.0.1:3000/appname/action
Read STEP 3 - 7 Very Carefully.
Success Bro,
Reinhart
http://teapoci.blogspot.com
--------------------------------------------------------------------------
Enjoy !!
Free Ruby eBook :
http://teapoci.blogspot.com/search/label/eBook
I got authentication on facebook after that this msg is coming,
and also i followed the steps in tutorial perfactly,
But problem is as it is .
Also i have some doubts i map controller in route.rb file how i can
write this line for my application can u give me an example?
Reinhart
hEAR IT ID ROUTES.RB fILE CONTENT:
ActionController::Routing::Routes.draw do |map|
# The priority is based upon order of creation: first created ->
highest priority.
# Sample of regular route:
# map.connect 'products/:id', :controller => 'catalog', :action =>
'view'
# Keep in mind you can assign values other than :controller and
:action
# Sample of named route:
# map.purchase 'products/:id/purchase', :controller => 'catalog',
:action => 'purchase'
# This route can be invoked with purchase_url(:id => product.id)
# You can have the root of your site routed by hooking up ''
# -- just remember to delete public/index.html.
# map.connect '', :controller => "welcome"
# Allow downloading Web Service WSDL as a file with an extension
# instead of a file named 'wsdl'
map.connect ':controller/service.wsdl', :action => 'wsdl'
# Install the default route as the lowest priority.
map.connect '', :controller => "fairpage"
map.connect ':controller/:action/:id.:format'
map.connect ':controller/:action/:id'
end
Guide me to solve this.
Thanks in advance
http://manuals.rubyonrails.com/read/chapter/65