Merge branch 'master' into notes

Conflicts:
	Gemfile
	Gemfile.lock
	app/assets/stylesheets/common.css.scss
	app/helpers/application_helper.rb
This commit is contained in:
Tom Hughes 2012-11-20 19:08:30 +00:00
commit 7599f98957
133 changed files with 4192 additions and 1690 deletions

View file

@ -0,0 +1,14 @@
class AddImageUseGravatarToUsers < ActiveRecord::Migration
def self.up
add_column :users, :image_use_gravatar, :boolean, :null => false, :default => false
# For people who don't have images on osm.org, enable Gravatar.
User.where(:image_file_name => nil).update_all(:image_use_gravatar => true)
change_column_default :users, :image_use_gravatar, true
end
def self.down
remove_column :users, :image_use_gravatar
end
end