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
2747087c
Commit
2747087c
authored
May 08, 2009
by
Jon Yurek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed string concatenation+, because ParseTree doesn't understand inline string concatenation
parent
c7b802cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
lib/paperclip.rb
+2
-2
lib/paperclip/attachment.rb
+2
-2
lib/paperclip/storage.rb
+2
-0
No files found.
lib/paperclip.rb
View file @
2747087c
...
...
@@ -235,8 +235,8 @@ module Paperclip
# Adds errors if thumbnail creation fails. The same as specifying :whiny_thumbnails => true.
def
validates_attachment_thumbnails
name
,
options
=
{}
warn
(
'[DEPRECAT
ED] validates_attachment_thumbnail is deprecated. '
'This validation is on by default and will be removed from future versions. '
warn
(
'[DEPRECAT
ION] validates_attachment_thumbnail is deprecated. '
+
'This validation is on by default and will be removed from future versions. '
+
'If you wish to turn it off, supply :whiny => false in your definition.'
)
attachment_definitions
[
name
][
:whiny_thumbnails
]
=
true
end
...
...
lib/paperclip/attachment.rb
View file @
2747087c
...
...
@@ -199,8 +199,8 @@ module Paperclip
# style as arguments. This hash can be added to with your own proc if
# necessary.
def
self
.
interpolations
warn
(
'[DEPRECATION] Paperclip::Attachment.interpolations is deprecated '
'and will be removed from future versions. '
warn
(
'[DEPRECATION] Paperclip::Attachment.interpolations is deprecated '
+
'and will be removed from future versions. '
+
'Use Paperclip.interpolates instead'
)
Paperclip
::
Interpolations
end
...
...
lib/paperclip/storage.rb
View file @
2747087c
...
...
@@ -128,6 +128,8 @@ module Paperclip
# separate parts of your file name.
module
S3
def
self
.
extended
base
warn
(
'[DEPRECATION] S3 support through RightAWS is deprecated. S3 support will '
+
'be changed to AWS::S3 in a future version.'
)
require
'right_aws'
base
.
instance_eval
do
@s3_credentials
=
parse_credentials
(
@options
[
:s3_credentials
])
...
...
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