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 <[email protected]> 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/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---