noosfero | Image destroy (#479)

Eduardo Passos gitlab at gitlab.com
Sat Feb 28 15:37:16 BRT 2015


New comment for Merge Request 479

https://gitlab.com/noosfero/noosfero/merge_requests/479#note_898177


Eduardo Passos

Indeed!! =D
That worked. Thanks for your suggestion. 

I've already made the changes for **belongs_to :image, dependent: :destroy**, and also removed the method that I created before to destroy. It's no longer necessary.
I'll push the changes soon. I just need to verify if the tests are still passing with no errors after this changes.

Thanks, man.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150228/0e5a812e/attachment-0001.html>


More information about the Noosfero-dev mailing list