vendor/plugins/mephisto_converters/lib/converters/base.rb
# Returns all the users from the current Mephisto site, in a hash indexed by login name.
Returns all the users from the current Mephisto site, in a hash indexed by login name.
Returns all the users from the current Mephisto site in a hash indexed by login name .
def users
    if @users.nil?
      @users      ||= site.members
      @users        = ::User.find(:all) unless @users.any?
      @default_user = @users.first
      @users        = @users.index_by(&:login)
    end
    @users
  end
def users if @users . nil? @users ||= site . members @users = :: User . find ( :all ) unless @users . any? @default_user = @users . first @users = @users . index_by ( & :login ) end @users end
Returns all the users from the current Mephisto site, in a hash indexed by login name.
Returns all the users from the current Mephisto site in a hash indexed by login name .