require "./config/sequel"
require "./uploaders/image_uploader"

class Photo < Sequel::Model
  include ImageUploader[:image]
end

require "./config/sequel"
require "./uploaders/image_uploader"

class Photo < Sequel::Model
  include ImageUploader::Attachment.new(:image)
end

Use ImageUploader::Attachment.new(:image) instead of ImageUploader[:image]
Use ImageUploader::Attachment.new(:image) instead of ImageUploader[:image]
