raw1z / amistad

Adds friendships management into a rails application
http://github.com/raw1z/amistad
MIT License
185 stars 71 forks source link

uninitialized constant User::Amistad #54

Open jennaleeb opened 9 years ago

jennaleeb commented 9 years ago

Hey there! I'm fairly new to rails and trying to implement the amistad gem (using devise). I've it up using the Active Record instructions (and somewhat using this as an example http://keighl.com/post/amistad-friendships-controller/) but am getting the error:

uninitialized constant User::Amistad

and this line in my User.rb model is highlighted:

include Amistad::Friendships::UserFriendship

Any ideas what I am missing? Thanks.