# RE: OpenID relative\_url\_root problems

**URL:** <https://www.ruby-forum.com/t/re-openid-relative-url-root-problems/164792>\
**Category:** Rails\
**Created:** [April 6, 2009, 2:07am UTC](https://www.ruby-forum.com/t/re-openid-relative-url-root-problems/164792 "2009-04-06T02:07:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schalk\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b782af/32.png) [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Post date:** [April 6, 2009, 2:07am UTC](https://www.ruby-forum.com/t/re-openid-relative-url-root-problems/164792/1 "2009-04-06T02:07:03Z")

</div>

If anyone experiences the problem I described below, please see the  
ticket here:

[https://rails.lighthouseapp.com/projects/8995/tickets/34-issues-with-forgery-protection-and-rails-21-relative\_url\_root](https://rails.lighthouseapp.com/projects/8995/tickets/34-issues-with-forgery-protection-and-rails-21-relative_url_root)

And apply the patch here:

[https://rails.lighthouseapp.com/attachments/43873/forgery\_protection\_and\_relative\_url\_root.patch](https://rails.lighthouseapp.com/attachments/43873/forgery_protection_and_relative_url_root.patch)

* * *

Hi there,

I am trying to get OpenID authentication working and for the most part  
seems to have gone fine except, when authentication I keep getting:

undefined method `relative\_url\_root’ for ActionController::Base:Class

I am testing from my local machine on Windows Vista using Mongrel. Any  
ideas why I am getting this error?

Thank you in advance,  
Schalk
