I am new to Ruby on Rails in general and apologize if this question is
trivial and/or has been asked before ( my searches did not turn up any
I am using the cookies function from actionpack which I have located in
my vendor/rails/actionpack directory.
cookies[:username] and cookies[:password]
from within a controller file works just fine, I am able to set and read
I would like to add cookie functionality to the overall template that my
controllers are using via layout “template”, however, trying to access
cookies causes the following error:
undefined local variable or method `cookies’ for
I am missing something as I suspect that I should be able to access the
external libs I have stored in vendor but I cannot put my finger on what
I need to do.
Any help would be greatly appreciated!