Sha256: 5ca445a4cb5bcdd2689d9656a8018f1d4895ce4efc978923fa2b0f52f9c480c7
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
= 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.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bipolar-0.1.0 | README |