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_heroku_stable-4.0.0 lib/mongoid/railties/document.rb
mongoid-2.8.0 lib/mongoid/railties/document.rb
mongoid_rails4-4.0.0 lib/mongoid/railties/document.rb
classiccms-0.7.2 vendor/bundle/gems/mongoid-2.4.10/lib/mongoid/railties/document.rb
classiccms-0.7.2 vendor/bundle/gems/mongoid-2.4.7/lib/mongoid/railties/document.rb
classiccms-0.7.2 vendor/bundle/gems/mongoid-2.4.9/lib/mongoid/railties/document.rb
classiccms-0.7.1 vendor/bundle/gems/mongoid-2.4.7/lib/mongoid/railties/document.rb
classiccms-0.7.1 vendor/bundle/gems/mongoid-2.4.10/lib/mongoid/railties/document.rb
classiccms-0.7.1 vendor/bundle/gems/mongoid-2.4.9/lib/mongoid/railties/document.rb
classiccms-0.7.0 vendor/bundle/gems/mongoid-2.4.10/lib/mongoid/railties/document.rb
classiccms-0.7.0 vendor/bundle/gems/mongoid-2.4.7/lib/mongoid/railties/document.rb
classiccms-0.7.0 vendor/bundle/gems/mongoid-2.4.9/lib/mongoid/railties/document.rb
mongoid-3.1.4 lib/mongoid/railties/document.rb
mongoid-3.1.3 lib/mongoid/railties/document.rb
mongoid-2.7.1 lib/mongoid/railties/document.rb
mongoid-2.7.0 lib/mongoid/railties/document.rb
mongoid-3.1.2 lib/mongoid/railties/document.rb
mongoid-3.0.23 lib/mongoid/railties/document.rb
mongoid-3.1.1 lib/mongoid/railties/document.rb
mongoid-3.1.0 lib/mongoid/railties/document.rb