Active Record Query to select associated model values.

Colin,

Thanks for the reply. Yes, association makes this better and easy way. But I’m expecting a way apart from using association. I heard merge will do this, but I’m not sure.

Colin, Thanks for the reply. Yes, association makes this better and easy way. But I'm expecting a way apart from using association. I heard merge will do this, but I'm not sure.

Why do you want to do it a way other than (as you say) the easiest?

Colin