Hello, It is a replacement of Aleksey Kondratenko patch, using ''attr_readonly'' instead of overriding of ''readonly_attributes'' method, with this change all tests pass. It also modify the test ''test_protected_attributes'' to work with Rails 2.0. Yann. -- Yann Lugrin yann.lugrin at sans-savoir.net http://www.sans-savoir.net -------------- next part -------------- A non-text attachment was scrubbed... Name: rails_2_0.patch Type: text/x-diff Size: 3355 bytes Desc: not available Url : http://rubyforge.org/pipermail/betternestedset-talk/attachments/20071015/d8b47ed2/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://rubyforge.org/pipermail/betternestedset-talk/attachments/20071015/d8b47ed2/attachment-0003.bin