/ Published in: Rails
Expand |
Embed | Plain Text
@post = Post.find(params[id]) @categories = Category.find(:all) - @post.categories
You need to login to post a comment.
bordalix on 06/11/07
3 people have marked this snippet as a favorite
@post = Post.find(params[id]) @categories = Category.find(:all) - @post.categories
You need to login to post a comment.