Referencing state_id on Cities creation

City.create(:name => city, :state_id => state_obj.id, :capital => capital?(city, state))