Timeline for ActiveRecord extension to find next / previous record(s) in one query
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 6, 2014 at 3:53 | comment | added | glebm |
Recognized a foldr and reduced the method down to just a few lines of code github.com/glebm/order_query/blob/…
|
|
Mar 20, 2014 at 9:43 | history | bounty ended | glebm | ||
Mar 19, 2014 at 10:28 | comment | added | glebm | :D By the way, I have another question about this gem's relevance on StackOverflow | |
Mar 19, 2014 at 9:41 | comment | added | Flambino | @glebm Neat! Glad it helped | |
Mar 19, 2014 at 8:11 | vote | accept | glebm | ||
Mar 19, 2014 at 8:11 | comment | added | glebm | I've refactored, and you can see the result here. CodeClimate now reports A (4.0, highest score) too! | |
Mar 19, 2014 at 7:24 | vote | accept | glebm | ||
Mar 19, 2014 at 7:24 | |||||
Mar 19, 2014 at 7:17 | comment | added | glebm |
Zipping arrays before nest_conditions is a clever move that simplifies everything greatly, thanks :) Refactoring for now, will get back when done
|
|
Mar 19, 2014 at 6:19 | history | edited | Flambino | CC BY-SA 3.0 |
added 966 characters in body
|
Mar 19, 2014 at 6:13 | history | edited | Flambino | CC BY-SA 3.0 |
added 966 characters in body
|
Mar 19, 2014 at 2:01 | history | edited | Flambino | CC BY-SA 3.0 |
added 23 characters in body
|
Mar 19, 2014 at 1:54 | history | edited | Flambino | CC BY-SA 3.0 |
added 503 characters in body
|
Mar 19, 2014 at 1:45 | history | answered | Flambino | CC BY-SA 3.0 |