No commit activity in last 3 years
No release in over 3 years
Couch data store for Dragonfly
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0

Runtime

 Project Readme

Dragonfly::CouchDataStore

Couch data store for use with the Dragonfly gem.

Gemfile

gem 'dragonfly-couch_data_store'

Usage

Configuration (with default options):

require 'dragonfly/couch_data_store'

Dragonfly.app.configure do
  # ...

  datastore :couch

  # ...
end

Or with options:

datastore :couch, username: 'potatoman', password: 'spudulike'

Available options

:host              # default 'localhost'
:port              # default 5984
:database          # default 'dragonfly'
:username          # not needed in 'admin party' mode
:password          # not needed in 'admin party' mode

Serving directly from Couch

Dragonfly.app.remote_url_for('some/uid')

or

my_model.attachment.remote_url