Commit 8b72781
authored
change from present? to ruby-only check
I'm not sure where `present?` (a method defined in Rails) is being pulled in from, but for me, it's not:
```sh
NoMethodError: undefined method `present?' for nil (NoMethodError)
elsif multi_tenant.present?
^^^^^^^^^
```
I wonder if `elsif multi_tenant` is good enough, or do we need to explicitly check that if it has an `empty?` method, that the `empty?` method returns false (similar to what `present?` does)1 parent 2365fa3 commit 8b72781
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments