Ruby on Rails 3 : “superclass mismatch for class …”

后端 未结 5 1046
长发绾君心
长发绾君心 2020-12-02 16:43

Platform: Mac OSX 10.6

In my terminal, i start the Ruby console with \"rails c\"

While following the Ruby on Rails 3 tutorial to build a class:



        
5条回答
  •  一个人的身影
    2020-12-02 17:21

    You already have a Word class defined elsewhere. I tried within a Rails 3 app but was not able to replicate.

    If you have not created a second Word class yourself, it is likely one of your Gems or plugins already defines it.

提交回复
热议问题