Sha256: 58e465a69f44bc8c64e0f1f35c4855e0ea4e1ecc5ddc7aa15d4b021b7b2946df
Contents?: true
Size: 310 Bytes
Versions: 6
Compression:
Stored size: 310 Bytes
Contents
require 'active_record' module RestAssured module Models class Request < ActiveRecord::Base belongs_to :double validates_presence_of :rack_env after_create :save_created_at private def save_created_at self.created_at = Time.now end end end end
Version data entries
6 entries across 6 versions & 1 rubygems