o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1368725673.233186: @value"Ñ{I" class:EFI"ProcessedAsset;FI"logical_path;FI"crimagify/nested_forms.js;TI" pathname;FI"Y/Users/juantrejo/projects/crimagify/app/assets/javascripts/crimagify/nested_forms.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-05-09T14:23:24-06:00;FI" length;Fi£I" digest;F"%95472e43c95315b8c13415ee4c978768I" source;FI"£$(function(){ var $frmCrimagify = $(".nested_crimagify_images"); if($frmCrimagify.find(".fieldset_crimagify_nested").length == 1){ setAttributesNames($frmCrimagify); }else if($frmCrimagify.find(".fieldset_crimagify_nested").length > 1) { $this = $frmCrimagify; var $fieldset = $frmCrimagify.find(".fieldset_crimagify_nested") for (var i = 0; i<$fieldset.length;i++){ var $new_fieldset = $($fieldset[i]); $new_fieldset.attr("id", "nested_"+i); $new_fieldset.attr("id","nested_" + i); $new_fieldset.find(".parent").attr('name',$this.data('parentobject')+'['+$this.data('parent')+'_attributes]['+i+'][parent]'); $new_fieldset.find(".parent_id").attr('name',$this.data('parentobject')+'['+$this.data('parent')+'_attributes]['+i+'][parent_id]'); $new_fieldset.find(".id_images").attr('name',$this.data('parentobject')+'['+$this.data('parent')+'_attributes]['+i+'][id_images]'); // $new_fieldset.find(".remove").attr('name',$this.data('parentobject')+'['+$this.data('parent')+'_attributes]['+i+'][_destroy]'); // $fieldset.find(".remove").removeAttr("id"); var imagesTemporal = $new_fieldset.find(".image_temporal"); for(var j = 0; j