1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Aaron Patterson
9656640080 probably should not check in a raise 2014-05-12 15:54:45 -07:00
Aaron Patterson
74a6ad2c6b undo optimized calls until the builder object is finished 2014-05-12 15:54:45 -07:00
Aaron Patterson
89e0718188 fix url_for with classes 2014-05-12 15:54:44 -07:00
Aaron Patterson
4b8ab797b4 break each polymorphic type to it's own method 2014-05-12 15:54:44 -07:00
Aaron Patterson
fd92437112 split nil / Hash cases in url_for
this reduces the number of comparisons and method calls `url_for`
requires.  The nil case no longer calls `symbolize_keys`, we already
know options is nil, so no more ||=, and since it is nil we already know
that options[:host] will be nil too.
2014-04-30 10:56:55 -07:00
Andrey Ognevsky
d04c4fac3b Take Hash with options inside Array in #url_for 2013-11-15 15:50:42 +04:00
Piotr Sarnacki
0d6e8edc2a Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
Renamed from actionpack/lib/action_view/routing_url_for.rb (Browse further)