title: How is `↳` generated in development.logs
body: <p>I have followed Hartl's tutorial to make a ToDoList with a tagging system, also with the help of this <a href="https://medium.com/@sherzelsmith/add-a-filtering-multiple-tag-system-with-autocomplete-to-your-rails-model-in-rails-5-1bf88cd53e9" rel="nofollow noreferrer">word guide</a> and <a href="https://www.youtube.com/watch?v=uBa2qs9CFZQ" rel="nofollow noreferrer">video</a>. However, I do not really understand how the tagging system works in terms of the filtering, so I just copied it and improvised. I am still working on the current <a href="https://stackoverflow.com/questions/54367340/tagging-system-not-filtering-according-to-tutorial">bug</a>.</p>
  
  <p>I am currently comparing the log produced from my own code and the code which I used from the tutorial, both by clicking on a tag to filter out the tasks. It seems that the code from the tutorial has an <code>↳</code> between each load request and I'm curious to know how that might be generated. Can anyone enlighten me? Do inform me if more information is needed. </p>
  
  <p>log from the tutorial </p>
  
  <pre><code>Started GET "/tags/Humour" for 127.0.0.1 at 2019-01-27 08:17:13 +0800
  Processing by TasksController#index as HTML
    Parameters: {"tag"=&gt;"Humour"}
    User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?  [["id", 2], ["LIMIT", 1]]
    ↳ app/controllers/application_controller.rb:5
    Tag Load (0.1ms)  SELECT  "tags".* FROM "tags" WHERE "tags"."name" = ? LIMIT ?  [["name", "Humour"], ["LIMIT", 1]]
    ↳ app/models/task.rb:6
    Rendering tasks/index.html.erb within layouts/application
    Task Load (0.2ms)  SELECT "tasks".* FROM "tasks" INNER JOIN "taggings" ON "tasks"."id" = "taggings"."task_id" WHERE "taggings"."tag_id" = ?  [["tag_id", 4]]
    ↳ app/views/tasks/index.html.erb:9
    Tag Load (0.1ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."task_id" = ?  [["task_id", 1]]
    ↳ app/views/tasks/index.html.erb:12
    Tag Load (0.1ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."task_id" = ?  [["task_id", 3]]
    ↳ app/views/tasks/index.html.erb:12
    Rendered tasks/index.html.erb within layouts/application (4.6ms)
  Completed 200 OK in 71ms (Views: 67.2ms | ActiveRecord: 0.6ms)
  </code></pre>
  
  <p>my own code</p>
  
  <pre><code>Started GET "/tags/tag2" for 127.0.0.1 at 2019-01-27 08:21:35 +0800
  Processing by MicropostsController#index as HTML
    Parameters: {"tag"=&gt;"tag2"}
    User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?  [["id", 2], ["LIMIT", 1]]
    Tag Load (0.1ms)  SELECT  "tags".* FROM "tags" WHERE "tags"."name" = ? LIMIT ?  [["name", "tag2"], ["LIMIT", 1]]
    Rendering microposts/index.html.erb within layouts/application
    Micropost Load (0.2ms)  SELECT "microposts".* FROM "microposts" WHERE "microposts"."user_id" = ? ORDER BY "microposts"."created_at" DESC  [["user_id", 2]]
    Tag Load (0.1ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."micropost_id" = ?  [["micropost_id", 20]]
    Tag Load (0.1ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."micropost_id" = ?  [["micropost_id", 14]]
    Tag Load (0.1ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."micropost_id" = ?  [["micropost_id", 8]]
    Tag Load (0.1ms)  SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."micropost_id" = ?  [["micropost_id", 2]]
    Rendered microposts/index.html.erb within layouts/application (8.3ms)
    Rendered layouts/_rails_default.html.erb (82.3ms)
    Rendered layouts/_shim.html.erb (0.2ms)
    Rendered layouts/_header.html.erb (0.7ms)
    Rendered layouts/_footer.html.erb (1.5ms)
  Completed 200 OK in 1095ms (Views: 1024.4ms | ActiveRecord: 6.1ms)
  </code></pre>
  
  <p>Here's my controller code:</p>
  
  <p>MicropostsController</p>
  
  <pre><code>class MicropostsController &lt; ApplicationController
    before_action :logged_in_user, only: [:index, :show, :create, :destroy]
    before_action :correct_user,   only: :destroy
  
  
    def index
      @microposts = current_user.microposts
      @microposts = @microposts.tagged_with(params[:tag]) if params[:tag]
    end
  
  
    def show
      @micropost = Micropost.find(params[:id])
    end
  
  
    def create
      @micropost = current_user.microposts.build(micropost_params)
      if @micropost.save
        flash[:success] = "Micropost created!"
        redirect_to root_url
      else
        @feed_items = []
        render 'static_pages/home'
      end
    end
  
    def destroy
      @micropost.destroy
      flash[:success] = "You have deleted a task!"
      redirect_to request.referrer || root_url
    end
  
    private
  
      def micropost_params
        params.require(:micropost).permit(:content, :tag_list, :tag, 
          {tag_ids: [] }, :tag_ids)
      end
  
      def correct_user
        @micropost = current_user.microposts.find_by(id: params[:id])
        redirect_to root_url if @micropost.nil?
      end
  end
  </code></pre>
  
  <p>SessionsController</p>
  
  <pre><code>class SessionsController &lt; ApplicationController
  
    def new
    end
  
    def create
      @user = User.find_by(email: params[:session][:email].downcase)
      if (@user &amp;&amp; @user.authenticate(params[:session][:password]))
        log_in @user
        flash[:success] = "Welcome back, #{@user.name}!"
        params[:session][:remember_me] == '1' ? remember(@user) : forget(@user)
        redirect_back_or root_path
      else
        flash.now[:danger] = 'Invalid email/password combination'
        render 'new'
      end
    end
  
    def destroy
      log_out if logged_in?
      redirect_to root_url
    end
  end
  </code></pre>
  
  <p>StaticPagesController</p>
  
  <pre><code>class StaticPagesController &lt; ApplicationController
    def home
      if logged_in?
        @new_micropost = Micropost.new
        @feed_items = current_user.microposts.paginate(page: params[:page]) 
      end 
    end
  
    def help
    end
  
    def about
    end
  
    def contact
    end
  end
  </code></pre>
  
  <p>UsersController</p>
  
  <pre><code>class UsersController &lt; ApplicationController
    before_action :logged_in_user, only: [:edit, :update, :destroy]
    before_action :correct_user,   only: [:edit, :update]
    before_action :admin_user,     only: [:destroy]
  
  
    def show
      @user = User.find(params[:id])
      @microposts = @user.microposts.paginate(page: params[:page])
    end
  
    def new
      @user = User.new
    end
  
    def index
      @users = User.paginate(page: params[:page])
    end
  
  
    def create
     @user = User.new(user_params)
     if @user.save
       log_in @user
       flash[:info] = "Welcome to the to-do app, #{@user.name}"
       redirect_to @user
     else
       render 'new'
     end
    end
  
    def admin
      @users = User.paginate(page: params[:page])
    end
  
    def destroy
      a = User.find(params[:id]).name
      User.find(params[:id]).destroy
      flash[:success] = "#{a} has been deleted!"
      redirect_to users_url
    end
  
    def admin_user
      redirect_to(root_url) unless current_user.admin?
    end
  
   def edit
     @user = User.find(params[:id])
   end
  
   def update
    @user = User.find(params[:id])
    if @user.update_attributes(user_params)
      flash[:success] = "Profile for @user.name has been updated"
      redirect_to(@user)
    else
      flash[:danger] = "Update Failed."
      render 'edit'
    end
  end
  
    private
      def user_params
        params.require(:user).permit(:name, :email, :password,
                                    :password_confirmation, :admin)
      end
      def logged_in_user
        unless logged_in?
          store_location
          flash[:danger] = "You are not logged in. Please log in."
          redirect_to login_url
        end
      end
  
      def correct_user
        @user = User.find(params[:id])
        if !current_user?(@user)
          flash[:danger] = "You are not authorized to visit this page."
          redirect_to(root_url)
        end
      end
    end
  </code></pre>
  
  <p>microposts/index.html.erb</p>
  
  <pre><code>&lt;h1&gt;Filtered Micropost Page&lt;/h1&gt;
  &lt;div class = "col-md-8 offset-2"&gt;
    &lt;% @microposts.each do |micropost| %&gt;
      &lt;p&gt;&lt;%= truncate(micropost.content, length: 50) %&gt;&lt;/p&gt;
      &lt;p&gt;&lt;small&gt;Tags: &lt;%= raw micropost.tags.map(&amp;:name).map { |t| link_to t, tag_path(t) }.join(', ') %&gt;&lt;/small&lt;/p&gt;
          &lt;span class="timestamp"&gt;
              Posted &lt;%= time_ago_in_words(micropost.created_at) %&gt; ago.
              &lt;% if current_user?(micropost.user) %&gt;
                &lt;%= link_to "Done", micropost_path(micropost), method: :delete, data: { confirm: "Keep up the good work!" } %&gt;
              &lt;% end %&gt;
          &lt;/span&gt;
      &lt;% end %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Micropost Model</p>
  
  <pre><code>class Micropost &lt; ApplicationRecord
    belongs_to :user
    has_many :taggings
    has_many :tags, through: :taggings, :dependent =&gt; :delete_all
    default_scope -&gt; { order(created_at: :desc) }
    validates :user_id, presence: true
    validates :content, presence: true, length: {maximum: 140 }
    attr_accessor :tag_list
  
  
  
    def self.tagged_with(name)
      Tag.find_by!(name: name).microposts
    end
  
    def self.tag_counts
      Tag.select('tags.*, count(taggings.tag_id) as count')
      .joins(:taggings).group('taggings.tag_id')
    end
  
    def tag_list
      tags.map(&amp;:name).join(', ')
    end
  
    def tag_list=(names)
      self.tags = names.split(',').map do |n|
        Tag.where(name: n.strip).first_or_create!
      end
    end
  end
  </code></pre>
  
  <p>Config/routes.rb and running <code>rake routes</code></p>
  
  <pre><code>Rails.application.routes.draw do
    resources :users
    resources :microposts          
  
    get    '/about',   to: 'static_pages#about'
    get    '/contact', to: 'static_pages#contact'
    get    '/signup',  to: 'users#new'
    post    '/signup',  to: 'users#create'
    get    '/login',    to: 'sessions#new'
    post   '/login',    to: 'sessions#create'
    delete '/logout',   to: 'sessions#destroy'
    get   '/users/admin',     to: 'users#admin'
  
    get 'tags/:tag', to: 'microposts#index', as: :tag
  
    root   'static_pages#home'
  end
  
          Prefix Verb   URI Pattern                    Controller#Action
           users GET    /users(.:format)               users#index
                 POST   /users(.:format)               users#create
        new_user GET    /users/new(.:format)           users#new
       edit_user GET    /users/:id/edit(.:format)      users#edit
            user GET    /users/:id(.:format)           users#show
                 PATCH  /users/:id(.:format)           users#update
                 PUT    /users/:id(.:format)           users#update
                 DELETE /users/:id(.:format)           users#destroy
      microposts GET    /microposts(.:format)          microposts#index
                 POST   /microposts(.:format)          microposts#create
   new_micropost GET    /microposts/new(.:format)      microposts#new
  edit_micropost GET    /microposts/:id/edit(.:format) microposts#edit
       micropost GET    /microposts/:id(.:format)      microposts#show
                 PATCH  /microposts/:id(.:format)      microposts#update
                 PUT    /microposts/:id(.:format)      microposts#update
                 DELETE /microposts/:id(.:format)      microposts#destroy
           about GET    /about(.:format)               static_pages#about
         contact GET    /contact(.:format)             static_pages#contact
          signup GET    /signup(.:format)              users#new
                 POST   /signup(.:format)              users#create
           login GET    /login(.:format)               sessions#new
                 POST   /login(.:format)               sessions#create
          logout DELETE /logout(.:format)              sessions#destroy
     users_admin GET    /users/admin(.:format)         users#admin
             tag GET    /tags/:tag(.:format)           microposts#index
            root GET    /                              static_pages#home
  </code></pre>
  
  <p>Update:
  I am using Rails 5.2.2. And these are in my initializers/ folder.</p>
  
  <pre><code>application_controller_renderer.rb
  assets.rb
  backtrace_silencers.rb
  cookies_serializer.rb
  filter_parameter_logging.rb
  inflections.rb
  mime_types.rb
  simple_form_bootstrap.rb
  simple_form.rb
  wrap_parameters.rb 
  </code></pre>