I'm trying social_stream gem (https://github.com/ging/social_stream). It uses devise gem for user registration. When I register a new user on social_stream, it creates new records in several tables. I checked the code in social stream, the registration method is not overrided. So I'm totally lost. I can't find how new records are inserted in the other tables except user table. There are several new records inserted into the following tables: channels, actors, profile, activity_objects, relations, permissions. But I can't find the connection between users to these tables.
Can anyone help me to point out how social stream works when new user register?
Thank you
Have a look at the database schema to get a glimpse of the architecture (and complexity) of social stream.
I may be wrong, but as social stream is based on device, it's devise that handles the user registration (check devise/app/controllers/devise/registrations_controller.rb). You might want to move that into your app to override this behavior.
Given the overall complexity of social stream, think twice before building your project on top of it.
Pros for using it:
Cons: