= Bipolar class Asset include MongoMapper::Document plugin Bipolar embeds_many :images end class Image include MongoMapper::Document end Image.create! options Image.create! other_options Asset.create :images => Image.all The last line will embed the images inside the asset. The images will remain as first-class documents, and will be untouched. = License bipolar is released under the MIT license. = Support Just email me at ryan@angilly.com with questions, bugs, or patches.
Project
bipolar
MongoMapper plugin for first-class documents that can also be embedded
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Development
Project Readme