Sha256: c01129ebe3696071c7c633dc7576f6d19e0a5e246db85396649ba066c07f4f6a

Contents?: true

Size: 818 Bytes

Versions: 9

Compression:

Stored size: 818 Bytes

Contents

Synchronisable.configure do |config|
  # Logging configuration
  #
  # Default logger fallbacks to `Rails.logger` if available, otherwise
  # `STDOUT` will be used for output.
  #
  # config.logging = {
  #   :logger   => defined?(Rails) ? Rails.logger : Logger.new(STDOUT),
  #   :verbose  => true,
  #   :colorize => true
  # }

  # You can restrict synchronized models by specifying their class names.
  # By default it will try to sync all models that have
  # a `synchronisable` dsl instruction.
  #
  # config.models = %w(Foo Bar)

  # What to do with an associated import record
  # when its synchronisable is destroyed. Default is `:destroy`.
  # For other available options see:
  # http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html
  #
  # config.dependent_import = :destroy
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
synchronisable-1.3.1 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.3.0 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.7 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.6 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.5 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.4 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.3 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.2 lib/generators/synchronisable/templates/initializer.rb
synchronisable-1.2.1 lib/generators/synchronisable/templates/initializer.rb