Minor fix for url_for where additional values are (incorrectly) set in
the hash...

Before fix:

options = {:controller => 'projects', :action => 'index'}
url_for(options)
options => {:controller => 'projects', :action => 'index', :host =>
'www.example.com', :protocol => 'http'}

After fix:

options = {:controller => 'projects', :action => 'index'}
url_for(options)
options => {:controller => 'projects', :action => 'index'}

Pull request at:
https://github.com/rails/rails/pull/2497

Thanks,
Andrew

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en.

Reply via email to