mammoth-guitar-49791
01/17/2024, 2:31 PMloud-jewelry-99127
01/17/2024, 2:38 PMloud-jewelry-99127
01/17/2024, 2:38 PMdef index? is not defined or returning false and your resource ElRecordoSong will not even show up on the menuloud-jewelry-99127
01/17/2024, 2:39 PMdef index? on ElRecordoSongPolicy to return true and it should appearmammoth-guitar-49791
01/17/2024, 2:40 PMloud-jewelry-99127
01/17/2024, 2:40 PMloud-jewelry-99127
01/17/2024, 2:40 PMloud-jewelry-99127
01/17/2024, 2:41 PM? on the methodloud-jewelry-99127
01/17/2024, 2:41 PMindex ❌
index? ✅loud-jewelry-99127
01/17/2024, 2:43 PMindex? should be defined inside policy class but not inside the Scope classloud-jewelry-99127
01/17/2024, 2:44 PMruby
class ElRecordoSongPolicy < ApplicationPolicy
def index? = true
class Scope < Scope
end
endmammoth-guitar-49791
01/17/2024, 2:45 PMloud-jewelry-99127
01/17/2024, 2:47 PMresolve method on the ElRecordoSongPolicymammoth-guitar-49791
01/17/2024, 2:54 PMloud-jewelry-99127
01/17/2024, 3:10 PMconfig.assets....loud-jewelry-99127
01/17/2024, 3:10 PMloud-jewelry-99127
01/17/2024, 3:10 PMElRecordoSong resource, it's already displaying?mammoth-guitar-49791
01/17/2024, 3:11 PMmammoth-guitar-49791
01/17/2024, 3:12 PMmammoth-guitar-49791
01/17/2024, 3:12 PMmammoth-guitar-49791
01/17/2024, 3:19 PMloud-jewelry-99127
01/17/2024, 3:20 PMmammoth-guitar-49791
01/17/2024, 3:30 PMbin/rails generate avo:resource TandaAudioTrasnfer --force