lib/activerecord-tableless.rb
def destroy(*args)
        case tableless_options[:database]
        when :pretend_success
          self.new()
        when :fail_fast
          raise NoDatabase.new("Can't #destroy 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 destroy(*args)
        case tableless_options[:database]
        when :pretend_success
          self.new()
        when :fail_fast
          raise NoDatabase.new("Can't #destroy on Tableless class")
        end
      end
def destroy ( * args ) case tableless_options [ :database ] when :pretend_success self . new ( ) when :fail_fast raise NoDatabase . new ( "Can't #destroy on Tableless class" ) end end
Used internally by ActiveRecord 5.
Used internally by ActiveRecord 5 .
args