lib/activerecord-tableless.rb
def transaction(&block)
#        case tableless_options[:database]
#        when :pretend_success
          @_current_transaction_records ||= []
          yield
#        when :fail_fast
#          raise NoDatabase.new("Can't #transaction on Tableless class")
#        end
      end
# Used internally by ActiveRecord 5.  This is the special hook that makes everything else work.
Used internally by ActiveRecord 5.  This is the special hook that makes everything else work.
Used internally by ActiveRecord 5 . This is the special hook that makes everything else work .
def transaction(&block)
          @_current_transaction_records ||= []
          yield
      end
def transaction ( & block ) @_current_transaction_records ||= [ ] yield end
Used internally by ActiveRecord 5.
Used internally by ActiveRecord 5 .
#        case tableless_options[:database] #        when :pretend_success #        when :fail_fast #          raise NoDatabase.new("Can't #transaction on Tableless class") #        end
block