From c0ea38475cbe38496a6eddf9cf0e0987aa076fb2 Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Wed, 22 Jan 2014 11:09:52 +0800 Subject: [PATCH] Updated Avatar Uploader, moved dynamic form to main Gemfile --- Gemfile | 2 ++ app/uploaders/avatar_uploader.rb | 2 +- built_in_extensions.rb | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index dea4e5d..a764b91 100644 --- a/Gemfile +++ b/Gemfile @@ -34,6 +34,8 @@ eval(File.read(File.dirname(__FILE__) + '/built_in_extensions.rb')) #modules installed from the store eval(File.read(File.dirname(__FILE__) + '/downloaded_extensions.rb')) +#form helpers +gem 'dynamic_form', '1.0.0', :git => 'git@github.com:rails/dynamic_form.git' gem 'fb_graph' gem 'rack-gridfs' diff --git a/app/uploaders/avatar_uploader.rb b/app/uploaders/avatar_uploader.rb index a1174c2..85aa4d2 100644 --- a/app/uploaders/avatar_uploader.rb +++ b/app/uploaders/avatar_uploader.rb @@ -42,7 +42,7 @@ class AvatarUploader < CarrierWave::Uploader::Base # end version :thumb do - process :resize_to_fit => [80, 80] + process :resize_to_fit => [200, 200] end # Add a white list of extensions which are allowed to be uploaded. diff --git a/built_in_extensions.rb b/built_in_extensions.rb index f0703d4..474b38e 100644 --- a/built_in_extensions.rb +++ b/built_in_extensions.rb @@ -16,4 +16,3 @@ gem 'personal_project', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit gem 'personal_research', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-personalresearch.git' gem 'survey', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-survey.git' gem 'web_resource', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-webresource.git' -gem 'dynamic_form', '1.0.0', :git => 'git@github.com:rails/dynamic_form.git' \ No newline at end of file