has_scope is a Ruby gem that allows you to easily create controller filters based on your resources named scopes.
I have two models Content and ContentType. In Content model I can do: def get_all_content_except_poking_message …
ruby-on-rails mongodb model-view-controller mongoid has-scope