Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This plugin basically upload an image to ImageShack and stores the url in the database.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 initializers
Octocat-spinner-32 lib
Octocat-spinner-32 tasks
Octocat-spinner-32 test
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 init.rb
Octocat-spinner-32 install.rb
Octocat-spinner-32 uninstall.rb
README
Imageshack
==========

This plugin basically upload an image to ImageShack and stores the url in the database.


Example
=======

Migration:

  class CreateUsers < ActiveRecord::Migration
    def self.up
      create_table :users do |t|
        t.string :name
        t.string :photo
      end
    end
  
    def self.down
      drop_table :users
    end
  end

Model:

  class User < ActiveRecord::Base
    upload_image_to_imageshack :photo
  end


Copyright (c) 2010 Carlos Brando, released under the MIT license
Something went wrong with that request. Please try again.