RailsCasts Pro episodes are now free!

Learn more or hide this

Somar Melhem's Profile

GitHub User: som4ik

Comments by Somar Melhem

Avatar

I guess that this approach is very bad like Backend-development
cuz its calls all the cities from the database and that is not good for the site performance !
plz if some one is not agree write a replay!
best solution is using ajax that remote trigger the controller method that find the cities of the chosen county and push it to
city select tag by js file "similar to 88"