-Comment Feature Parent Playdate parent_id Comment parent_id playdate_id
Parent has many created_playdates, class_name :playdate, foreign key:parent_id Parent has many commented_playdates, through comments, source:playdate Parents has many comments
Playdate belongs_to creator(parent), class_name: parent, foreign key:parent_id Playdate has many commentor(parent) through comments,source :parent =Playdate.first.commentors Playdate has many comments
Comment belongs to commentor(parent),classname:parent, foreign key:parent_id Comment belongs to playdate
-attend Feature parent playdate_attend parent_id playdate_id playdate(attended_playdate)
parent has many playdate_attends parent has many attended_playdate through playdate_attends,source playdate_id
playdate has many playdate_attend playdate has many attanded_parent through playdate_attends,source parent_id
<form>
<button formaction='/logout'>Log Out</button>
</form>
<%end%>
</div>