Skip to content

Instantly share code, notes, and snippets.

@coreyhaines
Forked from bryanl/gist:542558
Created August 21, 2010 16:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coreyhaines/542565 to your computer and use it in GitHub Desktop.
Save coreyhaines/542565 to your computer and use it in GitHub Desktop.
# Or......
class CommentsController < ApplicationController
def index
@comments = Topic.find(params[:topic_id]).not_shitty_comments
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment