Activity Feeds with Rails
@bodrovis wrote: Originally published at: http://www.sitepoint.com/activity-feeds-rails/Activity feeds are all over the place. For example, Github’s main page lists all of the activity in your social...
View ArticleActivity Feeds with Rails
@mafuba wrote: Good stuff! As someone who has built and worked with activity streams for years, I will say this is a good start. One thing I would suggest looking at is the Activity Streams protocol...
View ArticleActivity Feeds with Rails
@bodrovis wrote: Thank you! Your service seems like a nice solution - I may be interested in writing an article about it. Could you contact me via e-mail (http://radiant-wind.com - e-mail and some...
View ArticleActivity Feeds with Rails
@rizalmuthi wrote: Good stuff..Anyway, I checked your github apps for this tutorial, seems there is folder public_activity for the view.A bit confused about that. Thanks Read full topic
View ArticleActivity Feeds with Rails
@bodrovis wrote: Sorry, didn't quite understand. I have no such folder: https://github.com/bodrovis/SitePoint-PublicActivity/tree/master/app/views because I am sticking with I18n for this demo. Read...
View ArticleActivity Feeds with Rails
@rizalmuthi wrote: Yeah, sorry my bad, I did not read it carefully. So I found out you deleted that because of using the I18n.. Cool stuff. Thank you very much. Btw, is is possible to make it to more...
View ArticleActivity Feeds with Rails
@rizalmuthi wrote: By the way, I have couple of questionsFirst one, if you have 2 users type (user and admin) how do you set the owner?Second, how do you filter them on the render activity or the...
View ArticleActivity Feeds with Rails
@bodrovis wrote: rizalmuthi: Btw, is is possible to make it to more than 1 model ? like 2-3 models? Nope, with more than 1 model you will have to use partial views like described here:...
View ArticleActivity Feeds with Rails
@bodrovis wrote: rizalmuthi: First one, if you have 2 users type (user and admin) how do you set the owner? You will want to tweak this @current_user ||= User.find_by(id: session[:user_id]) if...
View ArticleActivity Feeds with Rails
@bodrovis wrote: rizalmuthi: Second, how do you filter them on the render activity or the view? By the owner field, if I understood the question correctly. It has the polymorphic association...
View ArticleActivity Feeds with Rails
@bodrovis wrote: rizalmuthi: and lastly, this is applicable to many models? Of course, multiple models may be used. Just remember to use partials, not I18n fallbacks. Read full topic
View ArticleActivity Feeds with Rails
@rizalmuthi wrote: OkaaayI have tried to play around this. Seems pretty good. Thank you very much for your time cheers I am big fans of you Read full topic
View ArticleActivity Feeds with Rails
@bodrovis wrote: Oh, thank you for kind words! Don't hesitate to contact me if anything else will seem unclear. Read full topic
View ArticleActivity Feeds with Rails
@Anthony_Galli wrote: AWESOME article! Really gave me a great grasp on the activity_feed. Is there a way to 1) limit liking to one time per post so that if you click on "Like it" a second time it...
View ArticleActivity Feeds with Rails
@bodrovis wrote: Thank you! 1&2. Of course that is possible, but this is not related to activity feeds so I did not consider add such info to the currect article. However I think that is a nice...
View ArticleActivity Feeds with Rails
@system wrote: This topic was automatically closed 91 days after the last reply. New replies are no longer allowed. Read full topic
View Article
More Pages to Explore .....