Displaying 2 results from an estimated 2 matches for "url_writ".
Did you mean:
url_writer
2010 Aug 12
4
[Rails 3] How to test routes urls in console
I tried require ''url_writer''
but this is not the trick
what should be required/included to test the routes urls ?
thanks
erwin
--
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-talk-/JYPxA39Uh5TLH...
2007 Dec 20
0
Relative URL fix
...ons has
nothing to do with your facebook app yet as Facebooker is written
presently "sessions_path" will produce "facebook_app/sessions/" even
if the sessions controller doesn''t call any of the facebooker
before_filters.
Part of the reason for this is that the url_writing methods add the
key :skip_relative_url_root to the options hash for the url_rewrite
method. It is assigned a boolean value and passed along to the
ActionController::UrlRewriter#rewrite_url method.
Unfortunately, rewrite_url cares about the existence of the key not
only its'' val...