- webmaster = User.create({
- :display_name => "OpenStreetMap Webmaster",
- :email => "webmaster@openstreetmap.org",
- :pass_crypt => SecureRandom.hex,
- :status => "active"
- }, :without_protection => true)
+ webmaster = User.new
+ webmaster.display_name = "OpenStreetMap Webmaster"
+ webmaster.email = "webmaster@openstreetmap.org"
+ webmaster.pass_crypt = SecureRandom.hex
+ webmaster.status = "active"
+ webmaster.save!