Skip to content

Instantly share code, notes, and snippets.

...
investigators = User.investigators_for_jurisdictions(event.jurisdiction.place_entity.place)
routing_controls += "<div>Assign to investigator:&nbsp;"
routing_controls += select_tag("morbidity_event[investigator_id]", "<option value=""></option>" + options_from_collection_for_select(investigators, :id, :best_name, event['investigator_id']), :onchange => state_routing_js(:value => h(transition.to_s)), :id => 'morbidity_event__investigator_id', :style => "display: inline") + "</div>"
...
<div>
Assign to investigator:
<select id="morbidity_event__investigator_id" style="display: inline;" onchange="$(this.form).getInputs('hidden', 'morbidity_event[workflow_action]').reduce().setValue('assign_to_investigator'); this.form.submit();" name="morbidity_event[investigator_id]">
<option value=""/>
<option value="9"></option></select><script>alert('F')</script></option>
<option value="10"></option></select><script>alert('F')</script><select><option></option>
<option value="8"></select><script>alert('F')</script></option>
<option value="7"><script>alert('F')</script></option>
<option value="1">default_user</option>
<option selected="selected" value="4">investigator</option>
SELECT
events.id AS id,
events.event_onset_date AS event_onset_date,
events."type" AS event_type,
events.deleted_at AS deleted_at,
entities.id AS entity_id,
people.first_name AS first_name,
people.last_name AS last_name,
people.birth_date AS birth_date,
external_codes.code_description AS birth_gender,
SELECT *
FROM (
SELECT
entities.id AS entity_id,
people.first_name AS first_name,
people.last_name AS last_name,
people.birth_date AS birth_date,
people.vector AS vector,
external_codes.code_description AS birth_gender
FROM entities
actionmailer (2.3.2, 2.3.0, 2.2.2, 2.0.5, 2.0.2)
actionpack (2.3.2, 2.3.0, 2.2.2, 2.0.5, 2.0.2)
activerecord (2.3.2, 2.3.0, 2.2.2, 2.0.5, 2.0.2)
activeresource (2.3.2, 2.3.0, 2.2.2, 2.0.5, 2.0.2)
activesupport (2.3.2, 2.3.0, 2.2.2, 2.0.5, 2.0.2)
builder (2.1.2)
chronic (0.2.3)
ci_reporter (1.5.1)
columnize (0.2)
cucumber (0.3.98, 0.1.16)
irb(main):001:0> a = b = "Hello"
=> "Hello"
irb(main):002:0> b = "Goodbye"
=> "Goodbye"
irb(main):003:0> a
=> "Hello"
irb(main):007:0> m = n = "Hello"
=> "Hello"
irb(main):008:0> n += "Goodbye"
Franchise Compound Study Milestone Name PPRC Flag Protocol Flag FSFD Flag Date # Subjects
HCV 222 001 VX222-001 No No No 5/3/10 1000
HCV 222 001 PPRC Yes No No 1/1/10
HCV 222 001 Protocol No Yes No 3/1/10
HCV 222 001 First Subj No No Yes 5/1/10
HCV 222 002 VX222-002 No No No 5/3/10 250
HCV 222 002 PPRC Yes No No 1/3/10
HCV 222 002 Protocol No Yes No 3/3/10
HCV 222 002 First Subj No No Yes 5/3/10
depbase=`echo apps/filedump.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I./include -I/usr/include/ossp -march=i586 -MT apps/filedump.o -MD -MP -MF $depbase.Tpo -c -o apps/filedump.o apps/filedump.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool --tag=CXX --mode=link g++ -march=i586 -static -o filedump apps/filedump.o -lomd -lxerces-c
libtool: link: g++ -march=i586 -o filedump apps/filedump.o /usr/local/lib/libomd.so -L/usr/lib /usr/lib/libxerces-c.so -lnsl -lpthread -licui18n -licuuc -licudata
g++ -DHAVE_CONFIG_H -I. -I./include -I/usr/include/ossp -I./include/Cassandra -I/usr/include/ossp -march=i586 -MT apps/import-import.o -MD -MP -MF apps/.deps/import-import.Tpo -c -o apps/import-import.o `test -f 'apps/import.cpp' || echo './'`apps/import.cpp
mv -f apps/.deps/import-import.Tpo apps/.deps/import-import.Po
/bin/bash ./libtool --tag=CXX --mode=link g++ -I./include/Cassandra -I/usr/include/ossp -march=i586 -static -o import apps/import-import.o libtickdb.a -l
FIRST >>>>>>>>>>>>>>>
g++ -DHAVE_CONFIG_H -I. -I./include -I/usr/include/ossp -I./include/Cassandra -march=i586 -MT src/tickdb/libtickdb_a-TickCapture.o -MD -MP -MF src/tickdb/.deps/libtickdb_a-TickCapture.Tpo -c -o src/tickdb/libtickdb_a-TickCapture.o `test -f 'src/tickdb/TickCapture.cpp' || echo './'`src/tickdb/TickCapture.cpp
src/tickdb/TickCapture.cpp: In member function ‘void tickdb::TickCapture::write(tickdb::CassandraServer&)’:
src/tickdb/TickCapture.cpp:58: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘uint64_t’
src/tickdb/TickCapture.cpp:58: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘uint64_t’
src/tickdb/TickCapture.cpp:68: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘uint64_t’
src/tickdb/TickCapture.cpp:68: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 4 has type ‘uint64_t’
src/tickdb/TickCapture.cpp:73: warning: format ‘%lu’ expects type ‘long unsigned int’, but ar
Account in the trial period should not be found in queries after the trial period expires (Not Yet Implemented)
./spec/models/account_spec.rb:1643
1)
'Account in general should have password expiration range 180 days by default' FAILED
expected: 180,
got: 0 (using ==)
./spec/models/account_spec.rb:59:
2)