title: How can I find the size of an uploaded file in Ruby on Rails?
body: <p>I am not using carrierwave or paperclip for my file upload. I want to find out the file extension and the size in bytes of a file that the user has uploaded? Any ideas on how I can achieve this?</p>