Skip to content

Instantly share code, notes, and snippets.

@avdi
Created September 14, 2011 03:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save avdi/1215781 to your computer and use it in GitHub Desktop.
Save avdi/1215781 to your computer and use it in GitHub Desktop.
Just a tease...
class Post < ActiveRecord::Base
include FigLeaf
hide ActiveRecord::Base, :ancestors => true,
:except => [Object, :errors, :valid?]
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment