Temporarily get rid of the RMagick gem in order to update to critical rails version 3.2.11 @railshosting.de.
This commit is contained in:
parent
9a92f9d177
commit
5aa3d25d8c
4 changed files with 5 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
|||
class Contact < ActiveRecord::Base
|
||||
mount_uploader :avatar, AvatarUploader
|
||||
attr_accessible :avatar, :remote_avatar_url
|
||||
|
||||
has_many :emails, :dependent => :destroy
|
||||
|
|
@ -10,8 +11,6 @@ class Contact < ActiveRecord::Base
|
|||
accepts_nested_attributes_for :emails, :reject_if => lambda { |a| a[:address].blank? }, :allow_destroy => true
|
||||
accepts_nested_attributes_for :phones, :reject_if => lambda { |a| a[:nr].blank? }, :allow_destroy => true
|
||||
|
||||
mount_uploader :avatar, AvatarUploader
|
||||
|
||||
def birth_date_string
|
||||
s = birth_day.to_s || ""
|
||||
s += "." unless birth_day.nil?
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
class AvatarUploader < CarrierWave::Uploader::Base
|
||||
|
||||
# Include RMagick or MiniMagick support:
|
||||
include CarrierWave::RMagick
|
||||
|
||||
# TMP comment out for critical update to rails 3.2.11 on railshosting.de
|
||||
#include CarrierWave::RMagick
|
||||
# include CarrierWave::MiniMagick
|
||||
|
||||
# Include the Sprockets helpers for Rails 3.1+ asset pipeline compatibility:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue