Skip to content

Instantly share code, notes, and snippets.

/-

Created September 11, 2013 16:59
Show Gist options
  • Select an option

  • Save anonymous/6526563 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/6526563 to your computer and use it in GitHub Desktop.
require Rails.root.to_s + '/lib/watch.rb'
watch TheFind::SearchQuery, :initialize do
before do |*args|
attrs = args[0]
SmartLog.info("SearchPoduct", attrs)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment