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

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -