On Mar 20, 7:42 pm, Jose Fernandez <
fernandez.joser...@gmail.com>
wrote:
> I've got 2helperfiles for 2 different models and each has the same
> method name:
>
> def uploaded_data_column(record)
> .....
> end
>
> The problem is that only one of thehelpermethods gets triggered for
> both models
I see this too :-( In my case I don't even have a direct association
between
the two models, although there is an intermediary table which
belongs_to both.
You mean you merge both helper methods into one, then do if ...
else ...
on the unified one? Or is there a way of indicating in one helper
that
the caller should pretend it doesn't exist? Please could you paste
full
code if you have a workaround, thanks!