Update to rails 2.3.4 for security fixes.

This commit is contained in:
Tom Hughes 2009-09-04 08:45:38 +00:00
parent 73340e1780
commit 63b399c9b2
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class User < ActiveRecord::Base
file_column :image, :magick => { :geometry => "100x100>" }
def after_initialize
self.creation_time = Time.now.getutc if self.creation_time.nil?
self.creation_time = Time.now.getutc unless self.attribute_present?(:creation_time)
end
def encrypt_password

View file

@ -5,7 +5,7 @@
ENV['RAILS_ENV'] ||= 'production'
# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION
# Set the server URL
SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'