aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http/url.rb
Commit message (Expand)AuthorAgeFilesLines
* Anchor should not be appended when set to nil/false.Guo Xiang Tan2014-11-231-1/+3
* Realign assignments :scissors:Carlos Antonio da Silva2014-07-311-5/+5
* Do not reassign variable when mutation is happeningCarlos Antonio da Silva2014-07-311-8/+5
* Only concatenate path if it was given rather than converting blindlyCarlos Antonio da Silva2014-07-311-1/+1
* Rename variable to better show its intentCarlos Antonio da Silva2014-07-311-12/+12
* Simplify conditionalCarlos Antonio da Silva2014-07-311-3/+2
* Push options check up so we can simplify internal methodsCarlos Antonio da Silva2014-07-311-13/+10
* use a strategy object for generating urls in named helpersAaron Patterson2014-07-171-8/+13
* extract path building to a methodAaron Patterson2014-07-161-9/+11
* break out path building logic to methodsAaron Patterson2014-07-161-14/+22
* only extract :params from the options hash onceAaron Patterson2014-07-161-3/+2
* push host / port / protocol extraction upAaron Patterson2014-06-301-6/+6
* add both branches to the only_path conditionalAaron Patterson2014-06-191-6/+6
* only check named_host? once in normalize_hostAaron Patterson2014-06-121-3/+7
* lookup subdomain from the options hash once, defaulting to trueAaron Patterson2014-06-121-2/+2
* only extract domain from the options hash onceAaron Patterson2014-06-121-3/+4
* reduce calls to `named_host?`Aaron Patterson2014-06-121-2/+6
* Removed warning actionpack url.rbJuanito Fatas2014-06-121-2/+2
* remove useless to_param callAaron Patterson2014-06-111-1/+1
* only look up the subdomain onceAaron Patterson2014-06-111-3/+4
* scheme should contain one or more charactersAaron Patterson2014-06-111-1/+1
* pull the port out of the options hash onceAaron Patterson2014-06-111-2/+3
* remove useless nil checkAaron Patterson2014-06-111-2/+2
* these methods are always called with a tld_parameterAaron Patterson2014-06-111-3/+3
* rm `same_host?`. The same conditional is two lines down.Aaron Patterson2014-06-111-5/+3
* Revert "rm `same_host?`. The same conditional is two lines down."Aaron Patterson2014-06-111-5/+8
* rm `same_host?`. The same conditional is two lines down.Aaron Patterson2014-06-111-8/+5
* cache host on the stack so we only look it up onceAaron Patterson2014-06-111-8/+9
* only pull :protocol from the options hash onceAaron Patterson2014-06-111-2/+3
* cache protocol on the stack to reduce options hash lookupsAaron Patterson2014-06-111-7/+7
* eliminate nil checks in normalize_portAaron Patterson2014-06-111-7/+7
* reduce hash lookups and disconnect normalize_port from the options hashAaron Patterson2014-06-111-9/+9
* Merge pull request #14986 from dlangevin/trailing-slash-url-generationRafael Mendonça França2014-05-241-7/+13
|\
| * Fixes URL generation with trailing_slash: trueDan Langevin2014-05-221-9/+17
* | fewer string allocations per url_forAaron Patterson2014-05-201-7/+5
* | mutate the path string to avoid object allocationsAaron Patterson2014-05-201-4/+4
* | push only_path conditional upAaron Patterson2014-05-201-18/+19
* | push arg checking upAaron Patterson2014-05-201-4/+4
* | fewer method calls and string garbage when there is no user/passwordAaron Patterson2014-05-201-9/+5
* | Always use the provided port for protocol relative urlsAndrew White2014-05-111-0/+2
* | ActionDispatch::Http::URL.normalize_port should not strip port for protocol r...Guilherme Cavalcanti2014-05-111-2/+0
* | skip dealing with params if none are providedAaron Patterson2014-05-091-4/+11
* | don't mutate the options hash, so we don't have to dupAaron Patterson2014-05-091-4/+3
* | use unless and || since these options are booleanAaron Patterson2014-05-091-1/+1
|/
* Refactor ActionDispatch::Http::URL.build_host_urlAndrew White2013-04-181-20/+49
* Duplicate options before mutating themAndrew White2013-04-181-0/+1
* Passing subdomain: '' to url_for removes the subdomain (instead of adding a l...Derek Watson2013-04-181-1/+1
* Fix improperly configured host in generated urlsschneems2013-03-191-1/+12
* Require AS deps in ActionDispatch::Http::URLMiha Filej2013-02-191-0/+3
* replace regexp global in #url_forYves Senn2013-01-161-2/+6