Link Details

Link 54308 thumbnail
User 201021 avatar

By ashiro
via pezra.barelyenough.org
Published: Nov 24 2007 / 04:12

Ara Howard has discovered that the ActiveRecord validation mechanism does not ensure data integrity.1 Validations feel a bit like database constraints but it turns out they are really only useful for producing human friendly error messages.
  • 11
  • 0
  • 3135
  • 0

Comments

Add your comment
User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

Data integrity is not necessary for Agile RoR development.

User 238564 avatar

FlySwat replied ago:

1 votes Vote down Vote up Reply

LOL,

Its not a bug its a feature. Thats the mantra of the Rubites.

User 236137 avatar

dzonelurker replied ago:

1 votes Vote down Vote up Reply
User 238564 avatar

FlySwat replied ago:

1 votes Vote down Vote up Reply

With that mentality, if ROR ever gets to the enterprise, it won't go far.

Database constraints and data validity is key to what we do.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (11)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax