Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

To claim this, I am signing this object:

{
"activityUrl": "",
"id": 20347,
"coupons": [
],
"artists": [
],
"title": "COMPLEXE R",
Sampling process 17653 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling TextMate (pid 17653) every 1 millisecond
Process: TextMate [17653]
Path: /Applications/TextMate.app/Contents/MacOS/TextMate
Load Address: 0x10092e000
Identifier: com.macromates.TextMate.preview
Version: 2.0-alpha.9465 (9465)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
module FriendlyId
module ActiveRecordAdapter
module SluggedModel
class MultipleFinder
def find_conditions
if unfriendly_ids.empty? and sluggable_ids.empty?
condition_ids = "0";
else
condition_ids = (unfriendly_ids + sluggable_ids).join(",")
end