Skip to content

Instantly share code, notes, and snippets.

@kueda
Created March 16, 2010 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kueda/334517 to your computer and use it in GitHub Desktop.
Save kueda/334517 to your computer and use it in GitHub Desktop.
scope = YourModel.scoped({})
scope = scope.some_named_scope()
puts scope.full_proxied_options[:joins]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment