RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: imme5150
Best way I've found for running migrations is from the console: http://stackoverflow.com/a/18782615/423384
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.
Best way I've found for running migrations is from the console: http://stackoverflow.com/a/18782615/423384
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.