Just sharing some of my inconsequential lunch conversations with you... RSS  

Sunday, July 22, 2007

For much as I hate the RubyOnRails platform...

Yes, it's true, every now and them I miss some of the RubyOnRails concise form. And this Friday was one of them.

We were refactoring some of the ternary associations on NHibernate to get a cleaner implementation - we were using it as a simple entity class, as describer here (6.3.4). In order to try some alternative implementation, we had to refactor the HBM, the domain model and the unit tests. The crazy thing about this refactoring is that most of the domain model could be inferred from the HBM. And yes, I'll have to admit, this is where RubyOnRails kicks C# and java asses...

No comments:

Development Catharsis :: Copyright 2006 Mário Romano