Rails Bootstrap Forms:方法不见了

时间:2014-09-24 21:49:48

标签: ruby-on-rails twitter-bootstrap-rails

我使用以下gem: https://github.com/bootstrap-ruby/rails-bootstrap-forms

由Bundler安装。我在application.css中添加了require语句。 然而,当我在视图中调用bootstrap_form_tag时,我得到一个 NoMethodError

Undefined method `bootstrap_form_tag'

我正在使用Rails 4.1.6 - 我知道代码很好(它在另一个应用程序上工作)。我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

这似乎是相互矛盾的宝石。我卸载了宝石,重新安装。