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-3.0.22 lib/mongoid/railties/document.rb
mongoid-3.0.21 lib/mongoid/railties/document.rb
mongoid-3.0.20 lib/mongoid/railties/document.rb
mongoid-3.0.19 lib/mongoid/railties/document.rb
mongoid-2.6.0 lib/mongoid/railties/document.rb
mongoid-2.5.2 lib/mongoid/railties/document.rb
mongoid-3.0.18 lib/mongoid/railties/document.rb
mongoid-3.0.17 lib/mongoid/railties/document.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/mongoid-3.0.16/lib/mongoid/railties/document.rb
classiccms-0.6.9 vendor/bundle/gems/mongoid-2.4.9/lib/mongoid/railties/document.rb
classiccms-0.6.9 vendor/bundle/gems/mongoid-2.4.10/lib/mongoid/railties/document.rb
classiccms-0.6.9 vendor/bundle/gems/mongoid-2.4.7/lib/mongoid/railties/document.rb
mongoid-3.0.16 lib/mongoid/railties/document.rb
mongoid-3.0.15 lib/mongoid/railties/document.rb
mongoid-3.0.14 lib/mongoid/railties/document.rb
mongoid-3.0.13 lib/mongoid/railties/document.rb
classiccms-0.6.8 vendor/bundle/gems/mongoid-2.4.7/lib/mongoid/railties/document.rb
classiccms-0.6.8 vendor/bundle/gems/mongoid-2.4.10/lib/mongoid/railties/document.rb
classiccms-0.6.8 vendor/bundle/gems/mongoid-2.4.9/lib/mongoid/railties/document.rb
mongoid-3.0.12 lib/mongoid/railties/document.rb