* Wrap it into a transaction * Use destroy over delete so dependent destroys get triggered and we thus don't fail on the foreign key constraits * Check if a photos status message actually exists before accessing it * Add missing dependent destroys |
||
|---|---|---|
| .. | ||
| controllers | ||
| fixtures | ||
| helpers | ||
| integration | ||
| javascripts | ||
| lib | ||
| mailers | ||
| models | ||
| presenters | ||
| shared_behaviors | ||
| support | ||
| workers | ||
| factories.rb | ||
| helper_methods.rb | ||
| locale_spec.rb | ||
| misc_spec.rb | ||
| spec-doc.rb | ||
| spec_helper.rb | ||