`render @sti_model_instance` sets the local to be the singular name of the derived class not the base… More yucks for your bucks.
-
-
Replying to @benlovell
Or is it rendering the template for the parent class with the ivar named for the child?
1 reply 0 retweets 0 likes -
Replying to @sgrif
no, it’s doing the Right Thing. I’m well versed in this behaviour yet it always feels somewhat awkward. Eg https://gist.github.com/benlovell/493f6da79e97c8add75ac672d5b2bb6e …
3 replies 0 retweets 0 likes
Replying to @benlovell
Oh yeah the template lookup behavior is super wonky
6:28 AM - 24 Aug 2016
from Ottawa, Ontario
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.