Oops, I'm sorry. I thought I answered to some open topic with this,
and didn't know I started a new one.
Well, thank you for you idea, Luke. I though about putting work with
data to model, and I think you are right.
As for empty field, I add validates to model to check that this field
isn't empty, and also add explanation to the error note.
Sure, I can allow to leave it just blank for 'no image', but validate
for presence will make user sure he didn't forget to put the image
url, and along with format validation with regular expression, it will
minimize the number of mistakes I think.
Well, actually that was a test and I'm just learning Rails, so I guess
my way is not really good on the point of usability, and it's not a
right thing, but i'm just testing :)
Peace,
Vit