Hello there !
I need help to understand this :
class TagsController < ApplicationController def index @tags = Tag.all end end
I’m confuse about the way “Tag.all” works. How does “Tag.all” (singular with a capitalize T) relates with a db model named “tags” (plural with no capitalized letter)
This code works but i can’t understand why