$("#card-list").append("<%= j render partial: 'user', collection: @users %>"); $("#member-filter").modal('hide');