Sha256: 02c23a0607fbb5f350d5a53c62acf15f38934ab49f41b3a0188115643bf6a88f
Contents?: true
Size: 297 Bytes
Versions: 6
Compression:
Stored size: 297 Bytes
Contents
module JazzFingers module Commands SQL = Pry::CommandSet.new do command "sql", "Send sql over AR." do |query| if defined?(Rails) pp ActiveRecord::Base.connection.select_all(query) else pp "Rails not defined" end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems