ruby - how to solve undefined local variable or method `has_mailbox'? -


i following this tutorial add messaging functionality between users in rails app, got error in user model.

class user < activerecord::base   has_mailbox end 

this gives me following error:

undefined local variable or method `has_mailbox' #<class:0xb60f6f84> 

any ideas?

i've checked gem, try run

rails g has_mailbox:install 

when install gem in rails app, idea check generators available

rails g //list of available generators 

Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -