Assuming your variable @page.memberscontains an array, you can use the method include?:
<% if @page.members.include? current_user %>
you can view this content.
<% end %>
, , , , :
<% if @page.members.include? current_user.id %>
you can view this content.
<% end %>