lib/ripple/embedded_document.rb in ripple-0.8.0.beta2 vs lib/ripple/embedded_document.rb in ripple-0.8.0
- old
+ new
@@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require 'ripple'
module Ripple
+ # Represents a document model that is composed into or stored in a parent
+ # Document. Embedded documents may also embed other documents, have
+ # callbacks and validations, but are solely dependent on the parent Document.
module EmbeddedDocument
extend ActiveSupport::Concern
extend ActiveSupport::Autoload
- autoload :Conversion
autoload :Finders
autoload :Persistence
include Translation
included do