Skip to content

Instantly share code, notes, and snippets.

@cpjolicoeur
Created July 22, 2013 19:12
Show Gist options
  • Save cpjolicoeur/6056690 to your computer and use it in GitHub Desktop.
Save cpjolicoeur/6056690 to your computer and use it in GitHub Desktop.
def as_json(options={})
super {only: [:faction, :name]}.merge(options)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment