Anyone had success with this?
i tried this:
if @picture and @picture.size > 50000
errors.add(‘picture’, ‘too big’)
as you can see, it’s been commented out because it well, doesn’t work…