Sha256: 464c9b960ddbf50e4cf7824c999d1e21a695b2380378ac023f4f750b887f060b

Contents?: true

Size: 361 Bytes

Versions: 287

Compression:

Stored size: 361 Bytes

Contents

module Mongoid
  module Document
    # Used in conjunction with fields_for to build a form element for the
    # destruction of this association. Always returns false because Mongoid
    # only supports immediate deletion of associations.
    #
    # See ActionView::Helpers::FormHelper::fields_for for more info.
    def _destroy
      false
    end
  end
end

Version data entries

287 entries across 190 versions & 12 rubygems

Version Path
mongoid-5.4.1 lib/mongoid/railties/document.rb
mongoid-5.4.0 lib/mongoid/railties/document.rb
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.2.0/lib/mongoid/railties/document.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/mongoid-6.1.0/lib/mongoid/railties/document.rb
tdiary-5.0.5 vendor/bundle/gems/mongoid-6.1.0/lib/mongoid/railties/document.rb
mongoid-6.2.0 lib/mongoid/railties/document.rb
mongoid-6.1.1 lib/mongoid/railties/document.rb
mongoid-5.2.1 lib/mongoid/railties/document.rb
tdiary-5.0.4 vendor/bundle/gems/mongoid-6.1.0/lib/mongoid/railties/document.rb
mongoid-6.1.0 lib/mongoid/railties/document.rb
mongoid-5.2.0 lib/mongoid/railties/document.rb
mongoid-5.2.0.rc0 lib/mongoid/railties/document.rb
mongoid-6.1.0.rc0 lib/mongoid/railties/document.rb
mongoid-6.0.3 lib/mongoid/railties/document.rb
mongoid-5.1.6 lib/mongoid/railties/document.rb
mongoid-6.0.2 lib/mongoid/railties/document.rb
mongoid-6.0.1 lib/mongoid/railties/document.rb
mongoid-5.1.5 lib/mongoid/railties/document.rb
mongoid-6.0.0 lib/mongoid/railties/document.rb
mongoid-5.1.4 lib/mongoid/railties/document.rb