search for: current_contribuyente

Displaying 1 result from an estimated 1 matches for "current_contribuyente".

2012 Aug 16
6
undefined method `with_indifferent_access' for "":String
Hi I''m having a issue with one object when try to update the attributes in this object previously saved in the database I have one object comp and one object reg they have this relationship comp has_many regs reg belongs_to comp when run use the method valid? like this current_contribuyente.comps.build(params[:comp]).valid? it returns: IndexError (string not matched) And when I try to update directly the comp directly it return this error: @comp = current_contribuyente.comps.find(params[:id]) @comp.update_attributes(params[:comp]) NoMethodError (undefined method `with_indifferent_...