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

Splat calls to_a not to_ary [#3423 state:resolved]

This commit is contained in:
Joshua Peek 2009-10-26 11:16:17 -05:00
parent a840c8afbf
commit 6083a87d63

View file

@ -36,7 +36,7 @@ module ActionDispatch
@segment_keys ||= conditions[:path_info].names.compact.map { |key| key.to_sym }
end
def to_ary
def to_a
[@app, @conditions, @defaults, @name]
end
end