How do I select the image column in rails when using where & select clause
<p>I have been using paperclip to upload and fetch image(s) url. My question is how do I select the logo column? 
for eg: User table structure
<code>id</code> ,<code>name</code>, <code>logo_file_name</code>, <code>logo_content_type</code> <strong>+ more columns</strong>
when I do <code>u = User.find(1).logo</code> getting the result which is great. Now when I'm doing <code>u = User.select('name', 'logo').where('something')</code> receiving error saying there is no such column as <strong>u.logo</strong> which is clear to me, since there is no column that's why it's giving me error, but how do fetch image url in later condition.</p>