Add this line to your application's Gemfile:
gem 'show_your_cookies', group: :development
And then execute:
After install this gem, insert following line to controller.
class WelcomeController < ApplicationController before_action :show_your_cookies def show end end
then logging session like below.
- Fork it ( https://github.com/hrysd/show_your_cookies/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request