Muchas gracias!

Leyendo la guía que me recomendaste me encontré con esto:

"""The Active Record way claims that intelligence belongs in your models,
not in the database. As such, features such as triggers or foreign key
constraints, which push some of that intelligence back into the database,
are not heavily used."""

¿No se suelen definir foreign key constraints en Rails? Es decir, ¿La lógica
de restricción de la misma la impone el modelo de datos?
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a