Skip to content

Instantly share code, notes, and snippets.

@bretweinraub
Created November 17, 2010 20:44
Show Gist options
  • Save bretweinraub/704044 to your computer and use it in GitHub Desktop.
Save bretweinraub/704044 to your computer and use it in GitHub Desktop.
cat test/fixtures/hospitals.yml
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
id: 1
name: E.O.Ü. T.F.
two:
id: 2
bweinraub@localhost:~/dev/aura.git/alexion(alexion)-> rake db:fixtures:load FIXTURES=hospitals
(in /home/bweinraub/dev/aura.git/alexion)
rake aborted!
PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xdc2e
HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
: INSERT INTO "hospitals" ("name", "created_at", "updated_at", "id") VALUES ('E.O.Ü. T.F.', '2010-11-17 20:43:53', '2010-11-17 20:43:53', 1)
(See full trace by running task with --trace)
bweinraub@localhost:~/dev/aura.git/alexion(alexion)->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment