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
I cannot see why this behaviour changed especially because I did not update slim itself. Slim version ist slim-4.0.1.
Any ideas? My guess is that it must be some gem I updated before but I cannot see what's related with slim that could cause this behaviour. There is the diff of my Gemfile.lock.
After I had updated some bundles I was no longer be able to call methods I defined in the template using the ruby filter:
This code throws the following error: «undefined method `hello_world' for ...»
I fixed it by using class methods instead, but this is just an ugly hack:
I cannot see why this behaviour changed especially because I did not update slim itself. Slim version ist slim-4.0.1.
Any ideas? My guess is that it must be some gem I updated before but I cannot see what's related with slim that could cause this behaviour. There is the diff of my Gemfile.lock.
The text was updated successfully, but these errors were encountered: