To find what the machine thinks its own name is (which may or may not be related to the hostname you want in a callback url), try:
Socket.gethostname As has been pointed out, the callback url also needs things like the port. If you are generating this within a controller action, you could of course just use the url_for() helper to generate the callback url. -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=.