Skip to content

Instantly share code, notes, and snippets.

@jperrine
Created October 29, 2011 01:04
Show Gist options
  • Save jperrine/1323948 to your computer and use it in GitHub Desktop.
Save jperrine/1323948 to your computer and use it in GitHub Desktop.
separation
# in lib/admin_user_methods.rb
module AdminUserMethods
# your methods go here
end
# in app/models/user.rb
class User < AR
include AdminUserMethods
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment