Remove :conditions deprecation warning

Commit addresses the following deprecation warning:

DEPRECATION WARNING: The following options in your User.has_many :pending_invited declaration are deprecated: :conditions. Please use a scope block instead. For example, the following:

    has_many :spam_comments, conditions: { spam: true }, class_name: 'Comment'

should be rewritten as the following:

    has_many :spam_comments, -> { where spam: true }, class_name: 'Comment'