@mennaamr You left the wrong relations. 
has_many :notifications_users
has_many :notifications, :through => :notifications_users
these are the correct relations