/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@post = Post.find(params[id]) @categories = Category.find(:all) - @post.categories