Fixed issues

DO NOT MERGE!
I fixed the conflicts and the show page is working fine but the ads/new page is not opening on my end. It says something like:
"Must supply cloud_name" for the:
<%= f.attachinary_file_field :photos %>