I am a newbie in ruby on rails it’s also my first ruby application.
I applied for a job according to posted_jobs_id as a jobseeker and
applied successfully.
Now I am a recruiter want to show specific applicants for specific
posted_jobs_id, but it’s showing whole applicants when I click for
specific posted_jobs_id anyone can help me, please how can I write a
logic or solution for this?
My view file code:
<tbody>
<% @applicants_view.each do | applicants | %>
<tr>
<td>
<a href="<%= user_path(:jobseeker_id =>
applicants.jobseeker_id) %>">
<%= applicants.jobseeker.try(:first_name) %>
<%= applicants.jobseeker.try(:year_of_experience) %>
<td>
<%= applicants.expected_salary %>
</td>
</tr>
<% end %>
</tbody>
Thanks in Advanced for all!