ruby - How to create a shortlisting feature in rails? -
i want add shortlisting feature applications model.
i have jobs model each job belongs employer , application model belongs job , user. employer can view responses jobs on dashboard. want allow him shortlist applications likes , view them later or somewhere else in dashboard.
it similar "add cart" feature, each item added cart here belong job , employer, not employer.
i not able figure out start. have create shortlist model, or add shortlist boolean attribute each response, or else? correct way go?
i looking guidance, prefer not spoil me lot of code :)
note:i using rails 4, , devise employer model.
you can create separate table add application id.
like cart, can go page , users shorted.
you can create model shortlist this.
Comments
Post a Comment