Flowdock
method

url_options

Importance_1
Ruby on Rails latest stable (v4.0.2) - 1 note - Class: ActionView::Helpers::UrlHelper

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

These similar methods exist in v4.0.2:

url_options() public

Need to map default url options to controller one. def default_url_options(*args) #:nodoc:

controller.send(:default_url_options, *args)

end

Show source
Register or log in to add new notes.
August 8, 2010
0 thanks

Path Segments

url_options Returns a hash with path segments.

Example:

{:_path_segments=>{:action=>"show", :location=>"los-angeles-ca", :controller=>"city"}, :script_name=>"", :protocol=>"http://", :host=>"localhost:3000"}