require 'bulldog'

ActiveRecord::Base.send :include, Bulldog::HasAttachment
ActiveRecord::Base.send :include, Bulldog::Validations

Bulldog.default_url_template = "/assets/:class/:id.:style.:extension"

require 'bulldog'

ActiveRecord::Base.send :include, Bulldog::HasAttachment
ActiveRecord::Base.send :include, Bulldog::Validations

Bulldog.default_url_template = "/assets/:class/:id.:style.:extension"

if defined?(Rails)
  Bulldog.logger = Rails.logger
end

Set Bulldog.logger to Rails.logger under Rails.
Set Bulldog.logger to Rails.logger under Rails.
