Sha256: 95425a11533a9529680533811dd8ae5222a40a0c24477a29a2c519059090bdbd
Contents?: true
Size: 335 Bytes
Versions: 5
Compression:
Stored size: 335 Bytes
Contents
module ActiveRecord module TriggerHelpers def create_trigger(name, content) say_with_time("create_trigger(#{name})") do connection.execute(content) end end def drop_trigger(name, content) say_with_time("drop_trigger(#{name})") do connection.execute(content) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems