« first day (1774 days earlier)      last day (1481 days later) » 

2:02 AM
Goodnight guys.
 
 
11 hours later…
1:57 PM
Some of this is still slightly over my head, but it's good & far better comprehension for me than last year - Justin Weiss on alias_method_chain & prepend
 
2:17 PM
apparently it's actually something iv'e been doing after going back thru some code
also ... my friend linked me gift box of white spruce household cleaner & candles... noting I should not be using the spray as my cologone ... she knows me too well ... so I took 10 minutes to check out white spruce cologone reviews ... amazon also if I like white spruce cologone ... I might like "baby fresh" scent cologone....
 
 
5 hours later…
7:31 PM
`assert array.detect{|x| x[:name] == "Hitesh"}`   #since detect is lazy & terms early
or
`assert_equal json_response.last['name'], "Hitesh"`
 
7:48 PM
assert_includes json_response.flatten, user.email
# seems the most legit in some ways
Nm, ... assert_includes json_response.map{|x| x.values}.flatten, user.email works
I hate mapping stuff - but in a text i control the dataset
 

« first day (1774 days earlier)      last day (1481 days later) »