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