Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Aquaio's Profile

GitHub User: Aquaio

Comments by

Avatar

I take it you are using Postgres? Likely your message is returning arrays for "to" and "from" and Postgres is throwing an error because it expects a string. Try message.to.to_s or message.from.first