Skip to content

Instantly share code, notes, and snippets.

@dangalipo
Created August 12, 2015 06:53
Show Gist options
  • Save dangalipo/17db2b26c13ad7de60b5 to your computer and use it in GitHub Desktop.
Save dangalipo/17db2b26c13ad7de60b5 to your computer and use it in GitHub Desktop.
Country.where(code: "AU").shipping_costs.joins(:currency).merge(Currency.where(code: "AUD"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment