Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
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
Commits
593acb1d
Commit
593acb1d
authored
Jul 28, 2011
by
aya-soft
Committed by
Prem Sichanugrist
Jul 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing issue #534 (now it works on Rails 2.3.8)
Closes #534, closes #538
parent
31df612d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lib/paperclip.rb
+2
-0
No files found.
lib/paperclip.rb
View file @
593acb1d
...
@@ -179,7 +179,9 @@ module Paperclip
...
@@ -179,7 +179,9 @@ module Paperclip
module
Glue
module
Glue
def
self
.
included
base
#:nodoc:
def
self
.
included
base
#:nodoc:
base
.
extend
ClassMethods
base
.
extend
ClassMethods
if
base
.
respond_to?
(
"class_attribute"
)
base
.
class_attribute
:attachment_definitions
base
.
class_attribute
:attachment_definitions
end
if
base
.
respond_to?
(
"set_callback"
)
if
base
.
respond_to?
(
"set_callback"
)
base
.
send
:include
,
Paperclip
::
CallbackCompatability
::
Rails3
base
.
send
:include
,
Paperclip
::
CallbackCompatability
::
Rails3
else
else
...
...
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