Nov
19
comment mongoose One-to-One Relationships with embeded documents
If I understand the OP correctly I think this is a duplicate of stackoverflow.com/questions/19635807/…. And basically the answer is Mongoose doesn't support One-to-One embedded documents: github.com/LearnBoost/mongoose/pull/585
Nov
19
comment mongoose One-to-One Relationships with embeded documents
possible duplicate of Mongoose Sub-Document without Array?
Nov
19
awarded Citizen Patrol
Nov
14
awarded Scholar
Nov
14
accepted Like button with layout=button_count blows out the default 90px
Nov
13
answered How can I update a sub-sub-doc in mongoose?
Sep
3
awarded Supporter
Sep
3
comment Why is a tags first letter in lower case?
I don't feel that reasons one and three here are actually that important. From a programming perspective normalizing the case of a tag for a particular implementation is trivial in almost every programming language. And in the case of full text searching the keyword will likely be stemmed to its root to search for all relevant forms of the term (e.g. tag, tags, tagging, tagged, etc).
Aug
28
comment icd9 regex pattern
See Section 1-B-3 for more details on coding format: cdc.gov/nchs/data/icd/icd9cm_guidelines_2011.pdf That document states that ICD-9 diagnosis codes should be 3, 4, or 5 characters long. This section actually says 'digits' not 'characters' but this is obviously incorrect as one of the subsequent sections refers to V and E codes as @lecrank mentioned.
Dec
25
awarded Famous Question
Dec
9
comment Node.js Express Framework Security Issues
Blog post link seems to be dead. Here is another resource for some common Express.js security concerns: gist.github.com/cerebrl/6487587
Jul
16
answered Performing an OR of two Mongoid "any_in" queries
May
1
comment What's the best jQuery product zoom plugin?
jqzoom doesn't work on mobile devices (at least not on my iPhone or iPad). Just fyi.
Apr
8
comment UTF8 MySQL problems on Rails - encoding issues with utf8_general_ci
I read about so many of the other utf8-rails3-mysql issues before discovering this ticket which turned out to be exactly what had happened with the site I am working on.
Mar
14
comment Parsing large file with SaxMachine seems to be loading the whole file into memory
I was able to parse my large xml doc using this approach along with the canonical sax-machine gem. Thanks!
Mar
14
comment Parsing large file with SaxMachine seems to be loading the whole file into memory
This branch seems out of sync with the canonical repository and hasn't been touched in two years. It was also throwing errors about yielding from a root fiber...
Mar
6
comment Rails sends 0 byte files using send_file
Ugh. I just spent way too long trying to figure out why all my zip downloads were suddenly 0kb.
Mar
5
comment CSV.read Illegal quoting in line x
In the requestor's situation he specifically has massive data and just wants to skip errors. Changing the :quote_char just helped me out in my situation though.
Mar
5
awarded Critic
Feb
1
comment Weird Ruby Behavior in DateTime to Time conversion
Thanks for the answer. I was really scratching my head on this one and looking for bug reports against Ruby 1.9 when it turned out to be a horrible decision by the Rails library to break the underlying Ruby interface...
1 2 3