Sha256: 5e0441f3d78f64fb4e4f3b371ed884f83c3798c0353e90c7039a37c88c6843fc

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 Bytes

Contents

# Snapshotar Gem
# https://github.com/elchbenny/snapshotar
# Benjamin Müller
# 2014

Snapshotar.configure do |config|


  # Where to store your snapshots?
  # :s3   -> for amazon s3 service
  # :file -> local directory (default)
  config.storage_type = :file

  # Provide the models and their attributes to seralize in a nested array like this:
  #    [[ModelName1, :attribute1, :attribute2,...],[ModelName2, :attribute1]]
  #
  # or even better to read like this
  #    config.models << [Cinema, :id, :name, :coordinates, :cinema_more_images, :district_id]
  #    config.models << [District, :id, :name]
  config.models << []

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
snapshotar-0.0.7 lib/generators/snapshotar/templates/initializer.rb
snapshotar-0.0.6 lib/generators/snapshotar/templates/initializer.rb
snapshotar-0.0.4 lib/generators/snapshotar/templates/initializer.rb
snapshotar-0.0.3 lib/generators/snapshotar/templates/initializer.rb