Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This plugin basically upload an image to ImageShack and stores the url in the database.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
initializers
lib
tasks
test
MIT-LICENSE
README
Rakefile
init.rb
install.rb
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.