How to set session variables with app.get() in Ruby on Rails console?
- by Vikrant Chaudhary
How can I manually set session while calling app.get() in script/console?
For example I want to access an authorised page, but it always redirects me to sign-in page. How can I set the session before calling app.get() so that I can make an authorised call to that page?