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
48cad66f
Commit
48cad66f
authored
Jul 17, 2015
by
Dave Gynn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace strings with symbols
parent
07b8b9ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/paperclip/rails_environment.rb
+1
-1
lib/paperclip/storage/s3.rb
+1
-1
No files found.
lib/paperclip/rails_environment.rb
View file @
48cad66f
...
...
@@ -15,7 +15,7 @@ module Paperclip
private
def
rails_exists?
Object
.
const_defined?
(
"Rails"
)
Object
.
const_defined?
(
:Rails
)
end
def
rails_environment_exists?
...
...
lib/paperclip/storage/s3.rb
View file @
48cad66f
...
...
@@ -286,7 +286,7 @@ module Paperclip
end
def
parse_credentials
creds
creds
=
creds
.
respond_to?
(
'call'
)
?
creds
.
call
(
self
)
:
creds
creds
=
creds
.
respond_to?
(
:call
)
?
creds
.
call
(
self
)
:
creds
creds
=
find_credentials
(
creds
).
stringify_keys
(
creds
[
RailsEnvironment
.
get
]
||
creds
).
symbolize_keys
end
...
...
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