Skip to content

Snowing222/bumblino_sinatra_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

-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

<%if logged_in?%> Home Page   All Babies   Create a New Baby Profile   All organize Playdates   All attend Playdates   Create a new playdate  
      <form>
         <button formaction='/logout'>Log Out</button>
      </form>
    <%end%>
  </div>

About

Where parents post play date for their children

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published