Sha256: 631b31a5b6f066e1028cd0dcc79a1073ad1c7739f7c7ad060b3397ccb48d49a6
Contents?: true
Size: 388 Bytes
Versions: 2
Compression:
Stored size: 388 Bytes
Contents
module BaseBranch::Database module Adapter class Base class << self def orm_execute(stmt) ActiveRecord::Base.connection.execute stmt end def orm_sanitize(field) ActiveRecord::Base.sanitize field end def orm_successfully_executed?(result) result.result_status == 1 end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
base-branch-0.1.2 | lib/base_branch/database/adapter/base.rb |
base-branch-0.1.1 | lib/base_branch/database/adapter/base.rb |