Comments (1)
This type of thing would violate the whole premise of Mongo would it not? If you needed a follower wouldn't you just store that follower in a followers hash in your "User" document?
Store the followee in a following hash on your User document or whatever your table might be?
I have ran accross this anywhere for Mongo but I would assume you wouldn't use the same type of strategy at all.
~ Tom
from acts_as_follower.
Related Issues (20)
- undefined method `unblocked' HOT 1
- Avoid n+1 queries HOT 1
- uninitialized constant ActsAsFollower::FollowerLib::ApplicationRecord with Rails 5.1.0.rc2
- NoMethodError: undefined method `[]' for ActiveRecord::Base:Class HOT 1
- Blend together current_user posts with current_user following users posts
- How do you check if the current user is blocking the target user?? HOT 1
- migrating fails on basic install b/c of new rails5 migration versioning HOT 2
- How to configure activity_notification to work with acts_as_follower?
- How to create multiple following list ?
- Deprecation Warning HOT 1
- Don't override followers_count if already defined
- followable_behaviour gem : a fork to revive acts_as_followers HOT 3
- Problem using current_user.following?(user) HOT 7
- Use base_class rather than superclass HOT 2
- The gem is spamming deprecation warnings in tests HOT 7
- Too many queries on follow
- NoMethodError: undefined method `relation_delegate_class' for Follow:Module HOT 1
- are the `fk_follows` and `fk_followables` indexes needed?
- Release version 1.x with Rails 5 compatibility HOT 8
- While waiting the PRs to merge, which repo anyone use? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acts_as_follower.