Skip to content

Instantly share code, notes, and snippets.

@mdarby
Forked from aahmad/gist:9141909
Created February 21, 2014 19:43
Show Gist options
  • Save mdarby/9141936 to your computer and use it in GitHub Desktop.
Save mdarby/9141936 to your computer and use it in GitHub Desktop.
if !params[:searchable].present?
params[:searchable] = {}
end
params[:searchable][:account_id] = @account.id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment