Rails data integrity : To trust or not to trust

In the midst of my Utopian Rails world, something prompted me to rethink using the ActiveRecord associations heavily in Rails. You may have guessed right, it is related to data integrity.
Rails enforces “data integrity” at the application level by forcing you to use certain conventions.Semantics are built in within ActiveRecord to check for patterns [...]

Referential Integrity in Rails *Part 2*

Finally, the onslaught of enforcing referential integrity is over…..I have finally succumbed to the manual way of writing bits and pieces of code to enforce it in Rails. It still hits me how the management of this could have been left out in the ORM (Object Relational Mapping) layer. Much like taking a 300 pounds [...]

Referential Integrity in Rails *Part 1*

I have started using Rails framework recently on a internal software engineering project at my workplace, prototyping an Enterprise 2.0 application that encompasses all the usual social collaborative/networking softwares that you can think of.
For the obvious reasons, it seems it will turn out a lot easier to write the software from scratch (am breaking the [...]