[OSM-dev] Rails Port upgraded to rails 2.2.2

Shaun McDonald shaun at shaunmcdonald.me.uk
Fri May 8 20:25:40 BST 2009


Hi dev,

For anyone who is working on the web site code, you should note that  
it is now running on a newer version of rails (including the live  
site). You will now need Ruby Gems 1.3.1, and Rails 2.2.2 for  
development.

All tests except one pass. The one that is failing is failing for a  
good reason. (The RelationTag model should be using composite primary  
keys so that updates work properly, this requires quite a bit of work  
to fix, hence why it's not been done yet. Other models have the same  
problem of not using CPK.) There still needs to be more test coverage,  
particularly for the amf controller.
The tests are very useful for determining whether you have committed  
all the files, if a new version of rails needs some other code  
changes, or if you have simply written some broken code.

Wiki documentation will be updated in due course. (If no one else gets  
there first.)

Shaun




More information about the dev mailing list