You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure I understand correctly, it might not be a bug.
If I use :
Activity.user_id_equals_any(current_user.friend_ids)
I expect this to be equivalent to
Activity.all(:conditions => {:user_id => current_user.friend_ids})
and it's not. The first expression will return all activities if the user doesn't have friends, and the second no activity, as expected.
thanks !
The text was updated successfully, but these errors were encountered:
Not sure I understand correctly, it might not be a bug.
If I use :
Activity.user_id_equals_any(current_user.friend_ids)
I expect this to be equivalent to
Activity.all(:conditions => {:user_id => current_user.friend_ids})
and it's not. The first expression will return all activities if the user doesn't have friends, and the second no activity, as expected.
thanks !
The text was updated successfully, but these errors were encountered: