stream-rails
stream-rails copied to clipboard
Rails Client - Build Activity Feeds & Streams with GetStream.io
It seems to me that this gem only supports sync activity. How about: - [User](https://getstream.io/activity-feeds/docs/ruby/users_introduction/?language=ruby) - [Follow](https://getstream.io/activity-feeds/docs/ruby/following/?language=ruby)
Related discussion: https://github.com/GetStream/stream-rails/pull/46#discussion_r58875461
StreamRails::Activity overwrites activity_object method, breaks generic approach to Activity Objects
Our current approach to handle a generic activity type is to use STI with the base model `ActivityObject` and specific child models. It would be used as: ``` class Activity...
See: https://github.com/GetStream/stream-rails/blob/8ffa4f144169f1f31465c83f0401bad473630994/lib/stream_rails/feed_manager.rb#L58-L59 As opposed to: https://github.com/GetStream/stream-rails/blob/8ffa4f144169f1f31465c83f0401bad473630994/lib/stream_rails/feed_manager.rb#L51-L52 I think this doesn't make sense. I guess you don't fail on record not found, but it still does an unwanted network call which...
Using Stream-rails, I noticed that feed_manager allows users follow just other users. However, nowadays people follow communities not less than users and it would be awesome to make the current...