1.) , : select = > , , , -. . , , SQL- ; , , , , . ( , ). , , ( ), .
2.) No, the get_countries method will not be called every iteration of the loop, only once before running #each; Assuming get_countries returns an Array, #each is an array method.
hoff2 source
share