RailsCasts Pro episodes are now free!

Learn more or hide this

Uri Klar's Profile

GitHub User: uriklar

Site: mavole.blogspot.com

Comments by Uri Klar

Avatar

I've got the same problem (unicorn taking long time to compile assets in dev) and am using the rails-dev-tweaks gem, which still doesn't speed the compilation up...

Any other ideas?

Avatar

How does Geocoder comply with section 10.1.3b in the Google Maps TOS?

No Pre-Fetching, Caching, or Storage of Content. You must not pre-fetch, cache, or store any Content, except that you may store: (i) limited amounts of Content for the purpose of improving the performance of your Maps API Implementation if you do so temporarily (and in no event for more than 30 calendar days), securely, and in a manner that does not permit use of the Content outside of the Service; and (ii) any content identifier or key that the Maps APIs Documentation specifically permits you to store. For example, you must not use the Content to create an independent database of "places" or other local listings information.

Avatar

There's something i'm having trouble understanding. How are the new objects being created in the link_to_add_fields helper method without making a call to the server?
As I understand, each click on the Add questions link calls the helper method. But how is the ruby code parsed when we are on the client side?
Also, I put a debugger in the function and saw it doesn't get called on clicking the link. Can anyone give a nice explanation on how this is working Client-Server wise? I'm a bit mixed up... :-/

Thanks!