On Nov 11, 4:19 pm, Enrico Mail <[email protected]>
wrote:
> I must configure rubycas logout so:
>
> CASClient::Frameworks::Rails::Filter.configure(
> :cas_base_url  => "https://myservercas/";,
> ...
> :logout_url    =>
> "https://myservercas/logout?service=http://#{request.host_with_port}";,
> ...
> )
>
> and to do so I must change config/environment.rb,but in this file tell
> me that the request.host_with_port method is undefined...help me :(
>

host_with_port is an instance method on an individual request - you
can't call it if you are not in the presence of an individual
request.

Fred

> --
> Posted viahttp://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