语法错误,意外的输入结束

时间:2014-05-29 06:01:11

标签: ruby-on-rails-4

有谁知道这个错误意味着什么:这一行在下面的文本块中突出显示:result = Kernel.load path

 const_paths = [const_paths].compact unless const_paths.is_a? Array
  parent_paths = const_paths.collect { |const_path| const_path[/.*(?=::)/] || :Object }
  result = nil
  newly_defined_paths = new_constants_in(*parent_paths) do
    result = Kernel.load path
  end
  autoloaded_constants.concat newly_defined_paths unless load_once_path?(path)
  autoloaded_constants.uniq!
  log "loading #{path} defined #{newly_defined_paths * ', '}" unless newly_defined_paths.empty?

在使用简单表单时,当在“表单”而不是“f”上调用单词时,我看到SO上有一个用户有相同的错误消息。我的简单表单视图格式不正确。非常感谢你

0 个答案:

没有答案
相关问题