I have a 3.0 Rail Metal Class in App / Controller Directory.
When I hit the URL on it: http: // localhost: 3000 / Foo , the hit method is called The problem is that it is not able to use the cookie method. I have included a module related to cookies, yet I am getting: ActionController :: RoutingError ('undefined' method for error message 'helper_method'.
How do I identify a rail mi class how cookie method
Looking at the source:
It looks like ActionController: : Cookies collects call to helper_method when it is included. ActionController :: Cookies before
Comments
Post a Comment