0
我想成立一个路线:Rails的路线:要求
atypes = [:culture, :personality, :communication] map.with_options(:path_prefix => ':atype', :requirements => {:atype => atypes.include?(:atype)}) do |assessment| ... end
我一直没能找到如何实现任何文件:一个验证一个特定的参数包含在一个阵列的阵列上的要求这个。任何帮助,将不胜感激。