getstream io - Stream-rails - Model method activity_should_sync? being ignored -


i've started playing stream-rails gem, , have flat , user feeds working more or less.

one of models being made activity when instance created - even though activity_should_sync? implemented return false.

it seems inside method not run @ all, including puts. appreciate advice

class post < activerecord::base   ...    include streamrails::activity    as_activity    def activity_should_sync?      false   end    def activity_object     self   end 

the activity_should_sync? method not released in latest gem yet (upcoming 2.4). 2.4 gem released on rubygems next week. in meantime can install latest version github directly.


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -