Permalink
Browse files

Remove nodoc directives

  • Loading branch information...
1 parent a36a07b commit 211f8a6275781e95811da4906cbd8268e772df60 @durran durran committed Apr 14, 2012
Showing with 567 additions and 567 deletions.
  1. +1 −1 lib/mongoid.rb
  2. +1 −1 lib/mongoid/atomic.rb
  3. +2 −2 lib/mongoid/atomic/modifiers.rb
  4. +3 −3 lib/mongoid/atomic/paths/embedded.rb
  5. +4 −4 lib/mongoid/atomic/paths/embedded/many.rb
  6. +4 −4 lib/mongoid/atomic/paths/embedded/one.rb
  7. +3 −3 lib/mongoid/atomic/paths/root.rb
  8. +2 −2 lib/mongoid/attributes.rb
  9. +2 −2 lib/mongoid/attributes/processing.rb
  10. +3 −3 lib/mongoid/attributes/readonly.rb
  11. +1 −1 lib/mongoid/callbacks.rb
  12. +2 −2 lib/mongoid/collections/retry.rb
  13. +2 −2 lib/mongoid/components.rb
  14. +1 −1 lib/mongoid/config.rb
  15. +1 −1 lib/mongoid/config/environment.rb
  16. +1 −1 lib/mongoid/config/options.rb
  17. +1 −1 lib/mongoid/contextual.rb
  18. +1 −1 lib/mongoid/contextual/aggregable/memory.rb
  19. +1 −1 lib/mongoid/contextual/aggregable/mongo.rb
  20. +2 −2 lib/mongoid/contextual/atomic.rb
  21. +1 −1 lib/mongoid/contextual/map_reduce.rb
  22. +1 −1 lib/mongoid/contextual/memory.rb
  23. +1 −1 lib/mongoid/contextual/mongo.rb
  24. +1 −1 lib/mongoid/copyable.rb
  25. +1 −1 lib/mongoid/criteria.rb
  26. +3 −3 lib/mongoid/criterion/inspection.rb
  27. +2 −2 lib/mongoid/criterion/scoping.rb
  28. +3 −3 lib/mongoid/dirty.rb
  29. +2 −2 lib/mongoid/document.rb
  30. +2 −2 lib/mongoid/errors/ambiguous_relationship.rb
  31. +2 −2 lib/mongoid/errors/callback.rb
  32. +2 −2 lib/mongoid/errors/delete_restriction.rb
  33. +2 −2 lib/mongoid/errors/document_not_found.rb
  34. +2 −2 lib/mongoid/errors/eager_load.rb
  35. +2 −2 lib/mongoid/errors/invalid_collection.rb
  36. +2 −2 lib/mongoid/errors/invalid_config_option.rb
  37. +2 −2 lib/mongoid/errors/invalid_database.rb
  38. +2 −2 lib/mongoid/errors/invalid_field.rb
  39. +2 −2 lib/mongoid/errors/invalid_find.rb
  40. +2 −2 lib/mongoid/errors/invalid_index.rb
  41. +2 −2 lib/mongoid/errors/invalid_options.rb
  42. +2 −2 lib/mongoid/errors/invalid_scope.rb
  43. +2 −2 lib/mongoid/errors/invalid_set_polymorphic_relation.rb
  44. +2 −2 lib/mongoid/errors/invalid_storage_options.rb
  45. +2 −2 lib/mongoid/errors/invalid_time.rb
  46. +2 −2 lib/mongoid/errors/inverse_not_found.rb
  47. +2 −2 lib/mongoid/errors/mixed_relations.rb
  48. +2 −2 lib/mongoid/errors/mongoid_error.rb
  49. +2 −2 lib/mongoid/errors/nested_attributes_metadata_not_found.rb
  50. +2 −2 lib/mongoid/errors/no_default_session.rb
  51. +2 −2 lib/mongoid/errors/no_environment.rb
  52. +2 −2 lib/mongoid/errors/no_map_reduce_output.rb
  53. +2 −2 lib/mongoid/errors/no_parent.rb
  54. +2 −2 lib/mongoid/errors/no_session_config.rb
  55. +2 −2 lib/mongoid/errors/no_session_database.rb
  56. +2 −2 lib/mongoid/errors/no_session_hosts.rb
  57. +2 −2 lib/mongoid/errors/no_sessions_config.rb
  58. +2 −2 lib/mongoid/errors/readonly_attribute.rb
  59. +2 −2 lib/mongoid/errors/scope_overwrite.rb
  60. +2 −2 lib/mongoid/errors/too_many_nested_attribute_records.rb
  61. +2 −2 lib/mongoid/errors/unknown_attribute.rb
  62. +2 −2 lib/mongoid/errors/unsaved_document.rb
  63. +2 −2 lib/mongoid/errors/unsupported_javascript.rb
  64. +2 −2 lib/mongoid/errors/unsupported_version.rb
  65. +2 −2 lib/mongoid/errors/validations.rb
  66. +2 −2 lib/mongoid/errors/versioning_not_on_root.rb
  67. +3 −3 lib/mongoid/extensions.rb
  68. +3 −3 lib/mongoid/extensions/array.rb
  69. +2 −2 lib/mongoid/extensions/false_class.rb
  70. +2 −2 lib/mongoid/extensions/hash.rb
  71. +2 −2 lib/mongoid/extensions/integer.rb
  72. +2 −2 lib/mongoid/extensions/module.rb
  73. +2 −2 lib/mongoid/extensions/nil_class.rb
  74. +2 −2 lib/mongoid/extensions/object.rb
  75. +2 −2 lib/mongoid/extensions/object_id.rb
  76. +2 −2 lib/mongoid/extensions/string.rb
  77. +2 −2 lib/mongoid/extensions/symbol.rb
  78. +2 −2 lib/mongoid/extensions/true_class.rb
  79. +1 −1 lib/mongoid/factory.rb
  80. +2 −2 lib/mongoid/fields.rb
  81. +3 −3 lib/mongoid/fields/internal/array.rb
  82. +3 −3 lib/mongoid/fields/internal/big_decimal.rb
  83. +3 −3 lib/mongoid/fields/internal/bignum.rb
  84. +3 −3 lib/mongoid/fields/internal/binary.rb
  85. +3 −3 lib/mongoid/fields/internal/boolean.rb
  86. +3 −3 lib/mongoid/fields/internal/date.rb
  87. +3 −3 lib/mongoid/fields/internal/date_time.rb
  88. +3 −3 lib/mongoid/fields/internal/false_class.rb
  89. +3 −3 lib/mongoid/fields/internal/fixnum.rb
  90. +3 −3 lib/mongoid/fields/internal/float.rb
  91. +4 −4 lib/mongoid/fields/internal/foreign_keys/array.rb
  92. +4 −4 lib/mongoid/fields/internal/foreign_keys/object.rb
  93. +3 −3 lib/mongoid/fields/internal/hash.rb
  94. +3 −3 lib/mongoid/fields/internal/integer.rb
  95. +3 −3 lib/mongoid/fields/internal/localized.rb
  96. +3 −3 lib/mongoid/fields/internal/nil_class.rb
  97. +3 −3 lib/mongoid/fields/internal/object.rb
  98. +3 −3 lib/mongoid/fields/internal/object_id.rb
  99. +3 −3 lib/mongoid/fields/internal/range.rb
  100. +3 −3 lib/mongoid/fields/internal/regexp.rb
  101. +3 −3 lib/mongoid/fields/internal/set.rb
  102. +3 −3 lib/mongoid/fields/internal/string.rb
  103. +3 −3 lib/mongoid/fields/internal/symbol.rb
  104. +3 −3 lib/mongoid/fields/internal/time.rb
  105. +3 −3 lib/mongoid/fields/internal/time_with_zone.rb
  106. +3 −3 lib/mongoid/fields/internal/timekeeping.rb
  107. +3 −3 lib/mongoid/fields/internal/true_class.rb
  108. +2 −2 lib/mongoid/fields/mappings.rb
  109. +3 −3 lib/mongoid/fields/serializable.rb
  110. +1 −1 lib/mongoid/finders.rb
  111. +3 −3 lib/mongoid/hierarchy.rb
  112. +1 −1 lib/mongoid/identity_map.rb
  113. +3 −3 lib/mongoid/indexes.rb
  114. +2 −2 lib/mongoid/indexes/validators/options.rb
  115. +1 −1 lib/mongoid/inspection.rb
  116. +1 −1 lib/mongoid/javascript.rb
  117. +1 −1 lib/mongoid/json.rb
  118. +1 −1 lib/mongoid/matchers.rb
  119. +2 −2 lib/mongoid/matchers/all.rb
  120. +2 −2 lib/mongoid/matchers/and.rb
  121. +2 −2 lib/mongoid/matchers/default.rb
  122. +2 −2 lib/mongoid/matchers/exists.rb
  123. +2 −2 lib/mongoid/matchers/gt.rb
  124. +2 −2 lib/mongoid/matchers/gte.rb
  125. +2 −2 lib/mongoid/matchers/in.rb
  126. +2 −2 lib/mongoid/matchers/lt.rb
  127. +2 −2 lib/mongoid/matchers/lte.rb
  128. +2 −2 lib/mongoid/matchers/ne.rb
  129. +2 −2 lib/mongoid/matchers/nin.rb
  130. +2 −2 lib/mongoid/matchers/or.rb
  131. +2 −2 lib/mongoid/matchers/size.rb
  132. +2 −2 lib/mongoid/matchers/strategies.rb
  133. +2 −2 lib/mongoid/multi_parameter_attributes.rb
  134. +2 −2 lib/mongoid/nested_attributes.rb
  135. +1 −1 lib/mongoid/observer.rb
  136. +2 −2 lib/mongoid/paranoia.rb
  137. +2 −2 lib/mongoid/persistence.rb
  138. +2 −2 lib/mongoid/persistence/atomic.rb
  139. +3 −3 lib/mongoid/persistence/atomic/add_to_set.rb
  140. +3 −3 lib/mongoid/persistence/atomic/bit.rb
  141. +3 −3 lib/mongoid/persistence/atomic/inc.rb
  142. +3 −3 lib/mongoid/persistence/atomic/operation.rb
  143. +3 −3 lib/mongoid/persistence/atomic/pop.rb
  144. +3 −3 lib/mongoid/persistence/atomic/pull.rb
  145. +3 −3 lib/mongoid/persistence/atomic/pull_all.rb
  146. +3 −3 lib/mongoid/persistence/atomic/push.rb
  147. +3 −3 lib/mongoid/persistence/atomic/push_all.rb
  148. +3 −3 lib/mongoid/persistence/atomic/rename.rb
  149. +3 −3 lib/mongoid/persistence/atomic/sets.rb
  150. +3 −3 lib/mongoid/persistence/atomic/unset.rb
  151. +2 −2 lib/mongoid/persistence/deletion.rb
  152. +2 −2 lib/mongoid/persistence/insertion.rb
  153. +2 −2 lib/mongoid/persistence/modification.rb
  154. +2 −2 lib/mongoid/persistence/operations.rb
  155. +4 −4 lib/mongoid/persistence/operations/embedded/insert.rb
  156. +4 −4 lib/mongoid/persistence/operations/embedded/remove.rb
  157. +3 −3 lib/mongoid/persistence/operations/insert.rb
  158. +3 −3 lib/mongoid/persistence/operations/remove.rb
  159. +3 −3 lib/mongoid/persistence/operations/update.rb
  160. +3 −3 lib/mongoid/railtie.rb
  161. +2 −2 lib/mongoid/relations.rb
  162. +3 −3 lib/mongoid/relations/accessors.rb
  163. +3 −3 lib/mongoid/relations/auto_save.rb
  164. +2 −2 lib/mongoid/relations/binding.rb
  165. +4 −4 lib/mongoid/relations/bindings/embedded/in.rb
  166. +4 −4 lib/mongoid/relations/bindings/embedded/many.rb
  167. +4 −4 lib/mongoid/relations/bindings/embedded/one.rb
  168. +4 −4 lib/mongoid/relations/bindings/referenced/in.rb
  169. +4 −4 lib/mongoid/relations/bindings/referenced/many.rb
  170. +4 −4 lib/mongoid/relations/bindings/referenced/many_to_many.rb
  171. +4 −4 lib/mongoid/relations/bindings/referenced/one.rb
  172. +2 −2 lib/mongoid/relations/builder.rb
  173. +3 −3 lib/mongoid/relations/builders.rb
  174. +5 −5 lib/mongoid/relations/builders/embedded/in.rb
  175. +5 −5 lib/mongoid/relations/builders/embedded/many.rb
  176. +5 −5 lib/mongoid/relations/builders/embedded/one.rb
  177. +4 −4 lib/mongoid/relations/builders/nested_attributes/many.rb
  178. +4 −4 lib/mongoid/relations/builders/nested_attributes/one.rb
  179. +4 −4 lib/mongoid/relations/builders/referenced/in.rb
  180. +4 −4 lib/mongoid/relations/builders/referenced/many.rb
  181. +4 −4 lib/mongoid/relations/builders/referenced/many_to_many.rb
  182. +4 −4 lib/mongoid/relations/builders/referenced/one.rb
  183. +3 −3 lib/mongoid/relations/cascading.rb
  184. +3 −3 lib/mongoid/relations/cascading/delete.rb
  185. +3 −3 lib/mongoid/relations/cascading/destroy.rb
  186. +3 −3 lib/mongoid/relations/cascading/nullify.rb
  187. +3 −3 lib/mongoid/relations/cascading/restrict.rb
  188. +2 −2 lib/mongoid/relations/constraint.rb
  189. +2 −2 lib/mongoid/relations/conversions.rb
  190. +3 −3 lib/mongoid/relations/cyclic.rb
  191. +2 −2 lib/mongoid/relations/embedded/in.rb
  192. +3 −3 lib/mongoid/relations/embedded/many.rb
  193. +3 −3 lib/mongoid/relations/embedded/one.rb
  194. +3 −3 lib/mongoid/relations/macros.rb
  195. +2 −2 lib/mongoid/relations/many.rb
  196. +2 −2 lib/mongoid/relations/metadata.rb
  197. +2 −2 lib/mongoid/relations/nested_builder.rb
  198. +2 −2 lib/mongoid/relations/one.rb
  199. +2 −2 lib/mongoid/relations/options.rb
  200. +3 −3 lib/mongoid/relations/polymorphic.rb
  201. +2 −2 lib/mongoid/relations/proxy.rb
  202. +3 −3 lib/mongoid/relations/referenced/batch.rb
  203. +4 −4 lib/mongoid/relations/referenced/batch/insert.rb
  204. +3 −3 lib/mongoid/relations/referenced/in.rb
  205. +3 −3 lib/mongoid/relations/referenced/many.rb
  206. +3 −3 lib/mongoid/relations/referenced/many_to_many.rb
  207. +3 −3 lib/mongoid/relations/referenced/one.rb
  208. +3 −3 lib/mongoid/relations/reflections.rb
  209. +3 −3 lib/mongoid/relations/synchronization.rb
  210. +3 −3 lib/mongoid/relations/targets/enumerable.rb
  211. +1 −1 lib/mongoid/reloading.rb
  212. +2 −2 lib/mongoid/scoping.rb
  213. +1 −1 lib/mongoid/serialization.rb
  214. +1 −1 lib/mongoid/sessions.rb
  215. +1 −1 lib/mongoid/sessions/factory.rb
  216. +2 −2 lib/mongoid/sharding.rb
  217. +1 −1 lib/mongoid/state.rb
  218. +1 −1 lib/mongoid/threaded.rb
  219. +3 −3 lib/mongoid/threaded/lifecycle.rb
  220. +1 −1 lib/mongoid/timestamps.rb
  221. +1 −1 lib/mongoid/timestamps/created.rb
  222. +2 −2 lib/mongoid/timestamps/timeless.rb
  223. +1 −1 lib/mongoid/timestamps/updated.rb
  224. +1 −1 lib/mongoid/unit_of_work.rb
  225. +2 −2 lib/mongoid/validations.rb
  226. +2 −2 lib/mongoid/validations/associated.rb
  227. +2 −2 lib/mongoid/validations/format.rb
  228. +2 −2 lib/mongoid/validations/presence.rb
  229. +2 −2 lib/mongoid/validations/uniqueness.rb
  230. +1 −1 lib/mongoid/version.rb
  231. +2 −2 lib/mongoid/versioning.rb
  232. +3 −3 lib/rack/mongoid/middleware/identity_map.rb
  233. +3 −3 lib/rails/generators/mongoid/model/model_generator.rb
  234. +3 −3 lib/rails/generators/mongoid/observer/observer_generator.rb
  235. +5 −5 lib/rails/generators/mongoid_generator.rb
  236. +2 −2 lib/rails/mongoid.rb
View
@@ -91,7 +91,7 @@
# add english load path by default
I18n.load_path << File.join(File.dirname(__FILE__), "config", "locales", "en.yml")
-module Mongoid #:nodoc
+module Mongoid
extend Loggable
extend UnitOfWork
extend self
View
@@ -2,7 +2,7 @@
require "mongoid/atomic/modifiers"
require "mongoid/atomic/paths"
-module Mongoid #:nodoc:
+module Mongoid
# This module contains the logic for supporting atomic operations against the
# database.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Atomic #:nodoc:
+module Mongoid
+ module Atomic
# This class contains the logic for supporting atomic operations against the
# database.
@@ -2,9 +2,9 @@
require "mongoid/atomic/paths/embedded/one"
require "mongoid/atomic/paths/embedded/many"
-module Mongoid #:nodoc:
- module Atomic #:nodoc:
- module Paths #:nodoc:
+module Mongoid
+ module Atomic
+ module Paths
# Common functionality between the two different embedded paths.
module Embedded
@@ -1,8 +1,8 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Atomic #:nodoc:
- module Paths #:nodoc:
- module Embedded #:nodoc:
+module Mongoid
+ module Atomic
+ module Paths
+ module Embedded
# This class encapsulates behaviour for locating and updating
# documents that are defined as an embedded 1-n.
@@ -1,8 +1,8 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Atomic #:nodoc:
- module Paths #:nodoc:
- module Embedded #:nodoc:
+module Mongoid
+ module Atomic
+ module Paths
+ module Embedded
# This class encapsulates behaviour for locating and updating
# documents that are defined as an embedded 1-1.
@@ -1,7 +1,7 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Atomic #:nodoc:
- module Paths #:nodoc:
+module Mongoid
+ module Atomic
+ module Paths
# This class encapsulates behaviour for locating and updating root
# documents atomically.
@@ -2,7 +2,7 @@
require "mongoid/attributes/processing"
require "mongoid/attributes/readonly"
-module Mongoid #:nodoc:
+module Mongoid
# This module contains the logic for handling the internal attributes hash,
# and how to get and set values.
@@ -249,7 +249,7 @@ def typed_value_for(key, value)
fields.has_key?(key) ? fields[key].serialize(value) : value
end
- module ClassMethods #:nodoc:
+ module ClassMethods
# Alias the provided name to the original field. This will provide an
# aliased getter, setter, existance check, and all dirty attribute
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Attributes #:nodoc:
+module Mongoid
+ module Attributes
# This module contains the behavior for processing attributes.
module Processing
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Attributes #:nodoc:
+module Mongoid
+ module Attributes
# This module defines behaviour for readonly attributes.
module Readonly
@@ -26,7 +26,7 @@ def attribute_writable?(name)
new_record? || !readonly_attributes.include?(name.to_s)
end
- module ClassMethods #:nodoc:
+ module ClassMethods
# Defines an attribute as readonly. This will ensure that the value for
# the attribute is only set when the document is new or we are
View
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc:
+module Mongoid
# This module contains all the callback hooks for Mongoid.
module Callbacks
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Collections #:nodoc:
+module Mongoid
+ module Collections
# Provides behaviour for retrying commands on connection failure.
module Retry
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Components #:nodoc
+module Mongoid
+ module Components
extend ActiveSupport::Concern
# All modules that a +Document+ is composed of are defined in this
View
@@ -3,7 +3,7 @@
require "mongoid/config/options"
require "mongoid/config/validators"
-module Mongoid #:nodoc
+module Mongoid
# This module defines all the configuration options for Mongoid, including the
# database connections.
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc
+module Mongoid
module Config
# Encapsulates logic for getting environment information.
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc
+module Mongoid
module Config
# Encapsulates logic for setting options.
@@ -3,7 +3,7 @@
require "mongoid/contextual/memory"
require "mongoid/contextual/mongo"
-module Mongoid #:nodoc:
+module Mongoid
module Contextual
# The aggregate operations provided in the aggregate module get delegated
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc:
+module Mongoid
module Contextual
module Aggregable
# Contains behaviour for aggregating values in memory.
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc:
+module Mongoid
module Contextual
module Aggregable
# Contains behaviour for aggregating values in Mongo.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Contextual #:nodoc:
+module Mongoid
+ module Contextual
module Atomic
# Execute an atomic $addToSet on the matching documents.
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc:
+module Mongoid
module Contextual
class MapReduce
include Enumerable
@@ -1,7 +1,7 @@
# encoding: utf-8
require "mongoid/contextual/aggregable/memory"
-module Mongoid #:nodoc:
+module Mongoid
module Contextual
class Memory
include Enumerable
@@ -2,7 +2,7 @@
require "mongoid/contextual/atomic"
require "mongoid/contextual/aggregable/mongo"
-module Mongoid #:nodoc:
+module Mongoid
module Contextual
class Mongo
include Enumerable
View
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc:
+module Mongoid
# This module contains the behaviour of Mongoid's clone/dup of documents.
module Copyable
View
@@ -2,7 +2,7 @@
require "mongoid/criterion/inspection"
require "mongoid/criterion/scoping"
-module Mongoid #:nodoc:
+module Mongoid
# The +Criteria+ class is the core object needed in Mongoid to retrieve
# objects from the database. It is a DSL that essentially sets up the
@@ -1,7 +1,7 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Criterion #:nodoc:
- module Inspection #:nodoc:
+module Mongoid
+ module Criterion
+ module Inspection
# Get a pretty string representation of the criteria, including the
# selector, options, matching count and documents for inspection.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Criterion #:nodoc:
+module Mongoid
+ module Criterion
module Scoping
# Applies the default scope to the criteria.
View
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc:
- module Dirty #:nodoc:
+module Mongoid
+ module Dirty
extend ActiveSupport::Concern
# Get the changed attributes for the document.
@@ -250,7 +250,7 @@ def reset_attribute!(attr)
attributes[attr] = changed_attributes[attr] if attribute_changed?(attr)
end
- module ClassMethods #:nodoc:
+ module ClassMethods
private
View
@@ -1,5 +1,5 @@
# encoding: utf-8
-module Mongoid #:nodoc:
+module Mongoid
# This is the base module for all domain objects that need to be persisted to
# the database as documents.
@@ -259,7 +259,7 @@ def to_ary
nil
end
- module ClassMethods #:nodoc:
+ module ClassMethods
# Performs class equality checking.
#
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised in case of an ambigous relationship.
#
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised when calling #save! or .create! on a model when one
# of the callbacks returns false.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised when calling #save! or .create! on a model when one
# of the callbacks returns false.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# Raised when querying the database for a document by a specific id or by
# set of attributes which does not exist. If multiple ids were passed then
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised when attempting to eager load a many to many
# relation.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised when trying to access a Mongo::Collection from an
# embedded document.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised when a bad configuration option is attempted to be
# set.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# Raised when the database connection has not been set up properly, either
# by attempting to set an object on the db that is not a +Mongo::DB+, or
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# This error is raised when trying to create a field that conflicts with
# an already defined method.
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# Raised when invalid arguments are passed to #find.
class InvalidFind < MongoidError
@@ -1,6 +1,6 @@
# encoding: utf-8
-module Mongoid #:nodoc
- module Errors #:nodoc
+module Mongoid
+ module Errors
# Raised when an invalid index is defined.
class InvalidIndex < MongoidError
Oops, something went wrong.

0 comments on commit 211f8a6

Please sign in to comment.