RailsCasts Pro episodes are now free!

Learn more or hide this

S's Profile

GitHub User: sgruhier

Site: http://xilinus.com

Comments by S

Avatar

I'm not a huge fan of simpleform this is why I did the foundation_rails_helper

Avatar

Nice railscast about a framework I use everyday.

About forms, to avoid the extra HTML that foundation requires, and also to have nice error rendering, I did a gem foundation_rails_helper that works with rails 3 and 4 and with foundation 3 and 4.

It has also an helper for flash messages

HTH
Seb

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 :)