Hi all One of the points that Rails ActiveRecord got right IMHO is the fact that models should validate themselves. So I started to work on adding rail-like validation to Elixir entities, using formencode. Here's a first Q&D and incomplete attempt, I'm awaiting for criticism, suggestions and other feedback.
http://sqlelixir.googlegroups.com/web/entities.py NB : one of the main differences with ActiveRecords is that this modules automagically adds validators based on the entity's fields. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
