跳至内容 跳至搜索
方法
F
O
P
R
U

实例公共方法

full_url_for(options)

# File railties/lib/rails/engine/lazy_route_set.rb, line 23
def full_url_for(options)
  Rails.application&.reload_routes_unless_loaded
  super
end

optimize_routes_generation?()

# File railties/lib/rails/engine/lazy_route_set.rb, line 33
def optimize_routes_generation?
  Rails.application&.reload_routes_unless_loaded
  super
end

polymorphic_path(record_or_hash_or_array, options = {})

# File railties/lib/rails/engine/lazy_route_set.rb, line 43
def polymorphic_path(record_or_hash_or_array, options = {})
  Rails.application&.reload_routes_unless_loaded
  super
end

polymorphic_url(record_or_hash_or_array, options = {})

# File railties/lib/rails/engine/lazy_route_set.rb, line 38
def polymorphic_url(record_or_hash_or_array, options = {})
  Rails.application&.reload_routes_unless_loaded
  super
end

route_for(name, *args)

# File railties/lib/rails/engine/lazy_route_set.rb, line 28
def route_for(name, *args)
  Rails.application&.reload_routes_unless_loaded
  super
end

url_for(options)

# File railties/lib/rails/engine/lazy_route_set.rb, line 18
def url_for(options)
  Rails.application&.reload_routes_unless_loaded
  super
end