Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% @c_skill_name = candidate.key_skills.map{|key| key.name}.join(",") %>
- ie; here i gets @c_skill_name = css,css5,html
- Candidate.joins(:key_skills).where('key_skills.name like ?',"#{@c_skill_name}")
Add Comment
Please, Sign In to add comment