<%= '# default generated template' %> <%= "# for using with model resource, initialize #{resource_name}Resource" %> <%= "# #{resource_name}Resource.new( ModelClassName.new )" %> <%= "# or with instance variable #{resource_name}Resource.new(@model_class_name)" %> class <%= resource_name %>Resource < Faat::Resources::Base # add your business logic here end