parameter passing from ext to rails working