app/helpers/phocoder_helper.rb in phocoder-rails-0.0.39 vs app/helpers/phocoder_helper.rb in phocoder-rails-0.0.40

- old
+ new

@@ -1,9 +1,7 @@ module PhocoderHelper - require 'active_support/secure_random' - def preview_reload_timeout #time in ms between preview reloading 10000 end @@ -184,10 +182,10 @@ # Thumbnail should either be an ActiveRecord or a Hash def pending_phocoder_thumbnail(photo,thumbnail,options,live_video=false,spinner='waiting') - random = ActiveSupport::SecureRandom.hex(16) + random = SecureRandom.hex(16) Rails.logger.debug "======================================================" Rails.logger.debug "building pending thumbnail for #{thumbnail.class} #{thumbnail.to_json}" if thumbnail.is_a? Hash thumb_name = thumbnail[:label] else