You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works as expected within the application. Meaning if I use @user.height in my view it works.
However if I do run the following unit test it fails:
I just saw that the problem is probably not related to delegate as running "rake test" instead of "rake test:recent" also fails even if I use the prefix option. Closing this for now. I'll dig into with a little more time on my hands.
Hi,
I'm running into an issue using the delegate method on rails 3.0.9 without the prefix option.
Here are my two models:
This works as expected within the application. Meaning if I use @user.height in my view it works.
However if I do run the following unit test it fails:
If I add the option
to the :delegate call the unit test runs fine. Although I have to change my views.
I tried to workaround the problem using something like
but that did not help regarding the unit test. :-(
The text was updated successfully, but these errors were encountered: