Sha256: d0456a2cb35f459dd64e8d643cb7b56280f8523d4f5d4eda5d223ae7460917cd

Contents?: true

Size: 172 Bytes

Versions: 28

Compression:

Stored size: 172 Bytes

Contents

class ActiveRecord::ConnectionAdapters::NullDBAdapter

  class NullObject
    def method_missing(*args, &block)
      nil
    end

    def to_a
      []
    end
  end

end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
wasmify-rails-0.2.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-1.1.1 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-1.1.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
wasmify-rails-0.1.5 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
wasmify-rails-0.1.4 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
wasmify-rails-0.1.3 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
wasmify-rails-0.1.2 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
wasmify-rails-0.1.1 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
wasmify-rails-0.1.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-1.0.1 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-1.0.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.9.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.8.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.7.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.6.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.5.1 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.5.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.4.0 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.3.9 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb
activerecord-nulldb-adapter-0.3.8 lib/active_record/connection_adapters/nulldb_adapter/null_object.rb