alecguintu / mongoid_follow

Add basic "follow" features to rails3 + mongoid
https://github.com/alecguintu/mongoid_follow
MIT License
19 stars 16 forks source link

add methods for use to this gems #2

Closed hyperrjas closed 12 years ago

hyperrjas commented 12 years ago

I need use this methods that I can see in gem https://github.com/lastomato/mongo_followable

followees_count_by_type, followees_by_type, with_max_followees, ever_follow, followers_by_type, followers_count_by_type, ever_followed.

If you can add this methods to your wonderful gem I will be very grateful.

Thank you for much I wait your response.

Regards!

alecguintu commented 12 years ago

Hrmn... Didn't notice the followe(r/e)s_count_by_type, and the followe(r/e)s_by_type... I think I missed that one. Haha. Will do accomodate that one.

The link you posted seems to have been deleted. Regarding the others, what are their functionalities? I'll have to check it out first.

hyperrjas commented 12 years ago

For me it does works fine the link https://github.com/lastomato/mongo_followable :D I have check this gem and works fine with this methods too :D. You can check https://github.com/lastomato/mongo_followable.

Thanks!

alecguintu commented 12 years ago

I've added some other methods like followers_count_by_model and all_followers_by_model. I don't think the max/min would be counted in for now.