/ 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
Comments
 Subscribe to comments
                    Subscribe to comments
                
                