Creating consistency check for creation of nodes, way and relations. Moving some...
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Mon, 13 Oct 2008 15:39:21 +0000 (15:39 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Mon, 13 Oct 2008 15:39:21 +0000 (15:39 +0000)
commitfb5f39f19ae00dad9ec896e216e8e813de42c151
tree82cf5c51092a8365b07e412787d0c7b5bb189046
parent127bb4523e111bca6b7bb1d2d0125d069a1f6b78
Creating consistency check for creation of nodes, way and relations. Moving some creation code from the controller to the model, and adding error handling on create errors.
app/controllers/node_controller.rb
app/controllers/relation_controller.rb
app/controllers/way_controller.rb
app/models/node.rb
app/models/relation.rb
app/models/way.rb
lib/consistency_validations.rb