Message.create is used by ActiveRecoard. http://apidock.com/rails/ActiveRecord/Base/create/class