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
NoMethodError: undefinedmethod`succeed' for #<Object:0x00000001084ef738>from (__TEMPLATE__):1:in `__tilt_84380'
Looks like succeed helper is not accessible when using render method directly? Which does make sense, since succeed is a helper accessible in ActionView. So the question is… How to use HAML template which uses succeed helper but I need to render template in model/controller - outside of the ActionView?
The text was updated successfully, but these errors were encountered:
Using
succeed
helper crashes during rendering outside of the ActionView. The very simple example in rails console:raises:
Looks like
succeed
helper is not accessible when usingrender
method directly? Which does make sense, sincesucceed
is a helper accessible inActionView
. So the question is… How to use HAML template which usessucceed
helper but I need to render template in model/controller - outside of the ActionView?The text was updated successfully, but these errors were encountered: