Sign in through GitHub

S's Profile

GitHub User: sgruhier

Site: http://xilinus.com

Comments by S

Avatar

Why not putting

ruby
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

Avatar

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

Avatar

no coffee color syntaxing yet in show notes :)

Avatar

How about tolk https://github.com/dhh/tolk?
Nice 1<<8 episod :)