Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip-qiniu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip-qiniu
Commits
0934ecf6
Commit
0934ecf6
authored
Jul 17, 2012
by
LI Daobing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use ul
parent
21e1fa18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
+4
-4
No files found.
README.md
View file @
0934ecf6
...
@@ -8,16 +8,16 @@ example site: http://stark-cloud-4321.herokuapp.com/
...
@@ -8,16 +8,16 @@ example site: http://stark-cloud-4321.herokuapp.com/
## Usage
## Usage
0.
confirm you are working on a rails app
*
confirm you are working on a rails app
1.
add following line to
`Gemfile`
*
add following line to
`Gemfile`
```
ruby
```
ruby
gem
'paperclip'
gem
'paperclip'
gem
'paperclip-qiniu'
gem
'paperclip-qiniu'
```
```
2.
edit your
`config/application.rb`
*
edit your
`config/application.rb`
```
ruby
```
ruby
module
PaperclipQiniuExample
module
PaperclipQiniuExample
...
@@ -38,7 +38,7 @@ end
...
@@ -38,7 +38,7 @@ end
for more information on
`qiniu_host`
, read http://docs.qiniutek.com/v2/sdk/ruby/#publish
for more information on
`qiniu_host`
, read http://docs.qiniutek.com/v2/sdk/ruby/#publish
3.
add a model like this
*
add a model like this
```
ruby
```
ruby
class
Image
<
ActiveRecord
::
Base
class
Image
<
ActiveRecord
::
Base
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment