Matt Vanderpol

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in File Uploads with Refile Discussion

Chris, you can just setup an environment conditional in your initializer:


if Rails.env.production?
# Use S3 Backend
else
# Use FileSystem Backend
end