YES!
logger.debug "=======\r"
logger.debug @explonaut.portrait.valid?
logger.debug @explonaut.portrait.save if
@explonaut.portrait.valid?
logger.debug "=======\r"
=>
@explonaut.portrait.save if @explonaut.portrait.valid?
On 17 Aug., 12:42, bingo bob
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> I''ve seen this with paperclip before I think, anyone know how to
fix it?
>
> When my validation fails the form is re-rendered with the validation
> error messages, all fine. However, the paperclip attachments that were
> previously attached get lost.
>
> Thinking that others may have done something with this and grateful if
> anyone could share a solution.
>
> Not really acceptable for users to see this behavior.
>
> Thanks
>
> BB.
> --
> Posted viahttp://www.ruby-forum.com/.