Skip to content

Instantly share code, notes, and snippets.

@rounders
Created December 9, 2015 21:41
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 rounders/595d62a4896f779edbb3 to your computer and use it in GitHub Desktop.
Save rounders/595d62a4896f779edbb3 to your computer and use it in GitHub Desktop.
phantomjs problem
AccountSerializer = ActiveModelSerializer.extend
attrs:
defaultPreferences:
serialize: false
subscribed:
serialize: false
cancelled:
serialize: false
defaultPreferences:
serialize: false
@rounders
Copy link
Author

rounders commented Dec 9, 2015

accidentally duplicating defaultPreferences above caused all my phantomsjs tests to fail with 'Syntax Error'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment