I hereby claim:
- I am karlhigley on github.
- I am karlhigley (https://keybase.io/karlhigley) on keybase.
- I have a public key whose fingerprint is 27D8 097A B671 62E5 2ECA 0ADB 69CD 627A 9276 E3FE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class PostController < ApplicationController | |
def search | |
searcher.search(params[:keywords]) | |
end | |
private | |
def searcher | |
Feature::Set.toggled_on?(:some_feature) ? SunspotPostSearcher.new : AnotherPostSearcher.new | |
end |