Error creating friendships on CE 1.2.1 running on Heroku

8 views
Skip to first unread message

Murray

unread,
Mar 28, 2012, 8:13:25 PM3/28/12
to CommunityEngine
Running CE 1.2.1 on Heroku. Everything is working fine except for
creating friendships. Works fine locally, but not on Heroku. I get a
page not found error rather than the pending notice I get locally.

Here's Heroku's log from the point of the GET to the serving of the
404:
https://gist.github.com/2231680

My guess is it's something to do with this, but I'm not sure:

ActiveRecord::RecordNotFound (Couldn't find a FriendshipStatus
identified by (:pending)):

My Gemfile:
https://gist.github.com/2231707

If someone has an idea or wants more information, I'm happy to post
more. I'm a little stuck.

Bruno Bornsztein

unread,
Apr 1, 2012, 8:35:46 AM4/1/12
to communi...@googlegroups.com
You need to make sure you have all the appropriate FriendshipStatuses in your production database. Looks like you're missing the 'pending' status. Check the migrations for the one that adds the FriendshipStatuses (while you're at it, make sure you have all the correct Roles, too). Sounds like your migrations didn't run correctly.




--
You received this message because you are subscribed to the Google Groups "CommunityEngine" group.
To post to this group, send email to communi...@googlegroups.com.
To unsubscribe from this group, send email to communityengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.


Reply all
Reply to author
Forward
0 new messages