RailsCasts Pro episodes are now free!

Learn more or hide this

imme5150's Profile

GitHub User: imme5150

Comments by

Avatar

Best way I've found for running migrations is from the console: http://stackoverflow.com/a/18782615/423384

Avatar

You could try @order.transactions.last.message

even better would be to pass the message back or store it directly in the order model so you save yourself a hit to the DB.