search for: valueobject

Displaying 6 results from an estimated 6 matches for "valueobject".

2005 Dec 16
4
Validation with Aggregation
ActiveRecord supports composed_of for value objects which is fantastic but one thing that it doesn''t seem to support (or at least I am unable to find any documentation for) validation of the value objects. For example, given the following: class Message < ActiveRecord::Base composed_of :sender, :class_name => ''EmailAddress'' composed_of :recipient,
2012 Jul 08
0
ActiveModel::ValueObject
Hi guys Seeing `composed_of` removed I put together a quick proof-of-concept ValueObject implementation on top of ActiveModel and ActiveRecord `serialize`. https://gist.github.com/3070184 Features: - VO''s are immutable - VO''s are identified by their attributes - VO''s can be conveniently created from hashes (with a little extra work) What do you think? --...
2016 Mar 26
2
DW_TAG_member extends beyond the bounds error on Linux
...e in lldb_private::ClangASTContext::GetNumChildren(void*, bool) (this=0x8c43c0, type=<optimized out>, omit_empty_base_classes=<optimized out>) at /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:5067 #6 0x00007f103ce876ad in lldb_private::ValueObjectVariable::CalculateNumChildren(unsigned int) (this=<optimized out>, max=4294967295) at /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp:102 #7 0x00007f103ce7759f in lldb_private::ValueObject::GetNumChildren(unsigned int) (this=0xc40600, ma...
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...langASTContext::GetNumChildren(void*, bool) (this=0x8c43c0, > type=<optimized out>, omit_empty_base_classes=<optimized out>) at > /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:5067 > #6 0x00007f103ce876ad in > lldb_private::ValueObjectVariable::CalculateNumChildren(unsigned int) > (this=<optimized out>, max=4294967295) > at > /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp:102 > #7 0x00007f103ce7759f in > lldb_private::ValueObject::GetNumChildren(unsigne...
2016 Mar 27
1
DW_TAG_member extends beyond the bounds error on Linux
...GetNumChildren(void*, bool) (this=0x8c43c0, >> type=<optimized out>, omit_empty_base_classes=<optimized out>) at >> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:5067 >> #6 0x00007f103ce876ad in >> lldb_private::ValueObjectVariable::CalculateNumChildren(unsigned int) >> (this=<optimized out>, max=4294967295) >> at >> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp:102 >> #7 0x00007f103ce7759f in >> lldb_private::ValueObject::Ge...
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...oid*, bool) (this=0x8c43c0, >>> type=<optimized out>, omit_empty_base_classes=<optimized out>) at >>> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Symbol/ClangASTContext.cpp:5067 >>> #6 0x00007f103ce876ad in >>> lldb_private::ValueObjectVariable::CalculateNumChildren(unsigned int) >>> (this=<optimized out>, max=4294967295) >>> at >>> /home/engshare/third-party2/lldb/3.8.0.rc3/src/llvm/tools/lldb/source/Core/ValueObjectVariable.cpp:102 >>> #7 0x00007f103ce7759f in >>> lldb_priv...