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

sql - VB.NET Operand type clash: date is incompatible with int error -

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

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -