全新的Rails应用程序.
Rails版本5.0.0.1,Ruby版本2.4.0preview2.
创建应用程序"demo",运行一个简单的脚手架生成Product,并在尝试查看脚手架的概述页面时出错(基本索引文件仍然可以加载Welcome to Rails屏幕):
ProductsController中的ArgumentError #index key必须是32个字节:
cipher = new_cipher
cipher.encrypt
cipher.key = @secret
# Rely on OpenSSL for the initialization vector
iv = cipher.random_iv
Run Code Online (Sandbox Code Playgroud)
问题线显然是cipher.key = @secret.
我已经看到Rails上提到这个问题的github repo的各种提及,但所有暗示它现在已经在Rails 5.0.0.1中解决了
我正在运行Spree 2.2.我正在尝试将标准分类法/过滤器列表显示在Spree的每个单独的产品页面上,但我找不到它在哪里决定是否要显示侧边栏内容.如果有人能够阐明决定在哪里/如何决定我会非常感激.