在Rails 3.0.1中,如何解决使用RedCloth 4.2.2 gem时未初始化的Ruby on Rails常量问题?
- 内容介绍
- 文章标签
- 相关推荐
本文共计218个文字,预计阅读时间需要1分钟。
我在本地应用中使用RedCloth时遇到了问题。我直接收到以下错误:`uninitialized constant ActionView::CompiledTemplates::RedCloth`。这种情况发生是因为我使用了以下代码:`%25=RedCloth.new(Some text).to_ %25`。
本文共计218个文字,预计阅读时间需要1分钟。
我在本地应用中使用RedCloth时遇到了问题。我直接收到以下错误:`uninitialized constant ActionView::CompiledTemplates::RedCloth`。这种情况发生是因为我使用了以下代码:`%25=RedCloth.new(Some text).to_ %25`。

