Value Object: from Model to Database
readOnly: (>= 2.1) Specifies that this entity is marked as read only and not considered for change-tracking. Entities of this type can be persisted and removed though.




#sam reid#interview with the vampire#the vampire lestat#iwtv

seen from United States
seen from India
seen from United States
seen from United States
seen from India
seen from China
seen from United States
seen from Netherlands

seen from France

seen from T1
seen from United States

seen from Italy
seen from T1
seen from Germany
seen from T1
seen from T1
seen from China
seen from China
seen from United States

seen from T1
Value Object: from Model to Database
readOnly: (>= 2.1) Specifies that this entity is marked as read only and not considered for change-tracking. Entities of this type can be persisted and removed though.
Custom Classes and Array#uniq
So you have a nifty little value class or something in your ruby app.
Let's say:
https://gist.github.com/joeljackson/5602698
It's been serving you pretty well, you can write all kinds of neat things in your code that would otherwise have been much uglier like:
https://gist.github.com/joeljackson/5602710
And you're generally very happy with your life. Then you go and do something like use Array#uniq. You'd expect it to work, because naturally it would be implemented using "==".
But...
https://gist.github.com/joeljackson/5602722
Well, that doesn't seem right, so we visit the docs.
From the docs: "It compares values using their hash and eql? methods for efficiency."
Well, crap. Now what? I'll tell you what:
https://gist.github.com/joeljackson/5602735
That's what. And *now* your precious Array#uniq will work.
Enjoy!
Cambiar el path del VO en AMFPHP
Abrir el archivo globlas.php y buscar la siguiente linea:
$voPath = "services/vo/";
Reemplazar por la ruta en donde uno tiene los value object.