Project

bipolar

0.0
No commit activity in last 3 years
No release in over 3 years
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
2025
2026
 Dependencies

Development

= 0.9.8
= 0.10.3
= 2.11.0
 Project Readme
= 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.