「読み説く」と「読み得」を掛け合わせたよくありがちの題名です。iOS(Xcode)とRuby on Rails ときどきR。
#coding: utf-8 require 'file_size_validator' class Product ・・・ mount_uploader :productImage, ProductImageUploader validates :productImage, file_size: {maximum: 200.kilobytes.to_i}