GitHub User: sgruhier
Site: http://xilinus.com
Why not putting
default_scope { where(tenant_id: Tenant.current_id) }
in a Concern and include that module in models?
Don't you think it would be great to talk about testing in Pro episods?
Thanks
+1
Keep in mind that doing geocode server side is not a best practice. Google API limit is 2500 req/day (and decrease every year :)) Should be done client side with plugin like this: https://github.com/sgruhier/jquery-addresspicker
no coffee color syntaxing yet in show notes :)
How about tolk https://github.com/dhh/tolk? Nice 1<<8 episod :)
Why not putting
default_scope { where(tenant_id: Tenant.current_id) }in a Concern and include that module in models?
Don't you think it would be great to talk about testing in Pro episods?
Thanks
+1
Keep in mind that doing geocode server side is not a best practice.
Google API limit is 2500 req/day (and decrease every year :))
Should be done client side with plugin like this: https://github.com/sgruhier/jquery-addresspicker
no coffee color syntaxing yet in show notes :)
How about tolk https://github.com/dhh/tolk?
Nice 1<<8 episod :)