方法
- F
- O
- P
- R
- U
实例公共方法
full_url_for(options) 链接
源代码: 显示 | 在 GitHub 上
# 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?() 链接
源代码: 显示 | 在 GitHub 上
# 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 = {}) 链接
源代码: 显示 | 在 GitHub 上
# 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 = {}) 链接
源代码: 显示 | 在 GitHub 上
# 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) 链接
源代码: 显示 | 在 GitHub 上
# 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) 链接
源代码: 显示 | 在 GitHub 上
# File railties/lib/rails/engine/lazy_route_set.rb, line 18 def url_for(options) Rails.application&.reload_routes_unless_loaded super end