$ rg --files-without-match -t ruby "frozen_string_literal: true" | xargs grep " << "
Rakefile: class << self
test/test_helpers/form_select_assertions.rb: memo[0] << "[#{name}=?]"
test/test_helpers/form_select_assertions.rb: memo[1] << value
test/test_helpers/form_select_assertions.rb: selector << "[method=#{method}]"
test/test_helpers/form_select_assertions.rb: selector << '[method=post]'
test/test_helpers/form_select_assertions.rb: params << options_for_assert_select
test/test_helpers/form_select_assertions.rb: args << options
test/test_helpers/form_select_assertions.rb: args << options
test/test_helpers/web_mock.rb: class << self
test/minitest_helper.rb:$: << File.expand_path('..', File.dirname(__FILE__))
test/minitest_helper.rb:$: << File.expand_path('../lib', File.dirname(__FILE__))
test/test_helpers/redis.rb: ports << 6380 + index + count * ENV['TEST_ENV_NUMBER'].to_i
test/test_helpers/test_output_buffer.rb: @output << value.html_safe
test/factories/account.rb: account.users << FactoryBot.build(:admin, :account => account, :username => username)
test/factories/account.rb: account.users << FactoryBot.create(:admin, :account_id => account.id, :username => username, :tenant_id => account.id)
test/factories/account.rb: account.users << FactoryBot.build(:admin, :account_id => account.id, :username => "superadmin", state: 'active')
test/factories/account.rb: account.users << FactoryBot.create(:admin, :account_id => account.id, :username => "superadmin", state: 'active')
test/unit/message_recipient_test.rb: @outbox << deliver_message
test/unit/partner_test.rb: partner.providers << provider
test/unit/partner_test.rb: partner.application_plans << application_plan
test/unit/topic_test.rb: posts << FactoryBot.create(:post, topic: topic, user_id: nil, anonymous_user: true)
test/unit/search_presenters_test.rb: provider.sections << FactoryBot.create(:root_cms_section, :provider => provider)
test/unit/search_presenters_test.rb: provider.sections << section = FactoryBot.create(:root_cms_section, :provider => provider)
test/unit/site_account_support_test.rb: class << self
test/unit/three_scale/xml/builder_spec_test.rb: it "has << method" do
test/unit/three_scale/xml/builder_spec_test.rb: xml << ""
test/unit/provider_constraints_test.rb: class << @provider
test/unit/indices/indexing_test.rb: index_modules << TopicIndex unless System::Database.oracle?
test/unit/messengers/base_test.rb: #Liquidizer.template_paths << path unless Liquidizer.template_paths.include?(path)
test/workers/zync_worker_test.rb: retry_limit.times { dependency_events << event.create_dependencies }
test/unit/api_docs/service_test.rb: NotificationCenter.disabled << ApiDocs::Service
test/unit/api_docs/service_test.rb: api_docs << account.api_docs_services.create!(valid_attributes.merge({name: 'accessible'})) # accessible without service
test/unit/api_docs/service_test.rb: api_docs << services.first.api_docs_services.create!(valid_attributes.merge({name: 'service-accessible'})) # accessible with service
test/unit/api_docs/service_test.rb: api_docs << services.last.api_docs_services.create!(valid_attributes.merge({name: 'service-deleted'})) # non-accessible wit service
vendor/active-docs/spec/javascripts/support/jasmine_config.rb: @spec_ids << spec["id"]
test/models/backend_api_config_test.rb: configs << FactoryBot.create(:backend_api_config, service: services[0])
test/models/backend_api_config_test.rb: configs << FactoryBot.create(:backend_api_config, backend_api: backend_apis[0])
test/models/backend_api_test.rb: configs << services[0].backend_api_configs.create!(backend_api: backend_api_using_one_service, path: 'foo')
test/models/backend_api_test.rb: configs << services[1].backend_api_configs.create!(backend_api: backend_api_using_two_services, path: 'foo')
test/models/backend_api_test.rb: configs << services[2].backend_api_configs.create!(backend_api: backend_api_using_two_services, path: 'bar')
script/stress-test.rb:$: << File.dirname(__FILE__)
test/functional/provider/admin/messages/inbox_controller_test.rb: account.users << @member
test/functional/buyers/users_controller_test.rb: error_message = 'Failed to activate user: ' << I18n.t('errors.messages.duplicated_user_provider_side')
test/integration/api_docs/services_controller_test.rb: collection_paths << path if path.match(name_or_path_regex)
test/integration/finance/api/invoices_controller_test.rb: invoice.line_items << LineItem.new(:cost => 100)
script/detect-invalid-data.rb: errors << msg
script/hyper_mega_profiler.rb: $classes << new
test/events/base_event_store_event_test.rb: class << self
lib/system/connection_probe.rb: class << self
lib/tasks/provider_stats.rb: csv << headers
lib/tasks/provider_stats.rb: row << p.id
lib/tasks/provider_stats.rb: row << p.org_name
lib/tasks/provider_stats.rb: row << p.bought_plan.name
lib/tasks/provider_stats.rb: row << p.emails.first
lib/tasks/provider_stats.rb: row << "#{p.users.first.first_name} #{p.users.first.last_name}"
lib/tasks/provider_stats.rb: row << p.billing_address_phone
lib/tasks/provider_stats.rb: row << p.external_domain
lib/tasks/provider_stats.rb: row << p.created_at
lib/tasks/provider_stats.rb: row << (p.internal_domain.present? && p.internal_domain.ends_with?("." + ThreeScale.config.superdomain)) ? "0" : "1"
lib/tasks/provider_stats.rb: row << days_since(p.created_at)
lib/tasks/provider_stats.rb: row << days_since( ( last_buyer_account || p).created_at )
lib/tasks/provider_stats.rb: row << days_since(TrafficService.build(p).last_traffic_date).to_i
lib/tasks/provider_stats.rb: row << days_since( p.templates.sort_by{|c| c.updated_at}.last.try!(:updated_at) )
lib/tasks/provider_stats.rb: row << days_since( last_admin_access_of(p) )
lib/tasks/provider_stats.rb: #row << (days_since( p.buyer_accounts.map{|a| a.users }.flatten.reject{|u| u.last_login_at.nil? }.sort_by{|user| user.last_login_at }.last.try(:last_login_at)) || -1)
lib/tasks/provider_stats.rb: row << days_since(last_login_total)
lib/tasks/provider_stats.rb: row << buyer_accounts_size
lib/tasks/provider_stats.rb: definition_fields.each { |field| row << p.extra_fields[field.name] }
lib/tasks/provider_stats.rb: csv << row
lib/developer_portal/app/controllers/developer_portal/admin/account/plan_changes_controller.rb: array << [contract, plans[plan_id]] if plan_id
lib/developer_portal/lib/liquid/docs/dsl/drops.rb: self.methods << DropMethod.new(name, @builder)
lib/developer_portal/lib/liquid/docs/dsl/drops.rb: subclass.documentation.methods << method
lib/developer_portal/lib/liquid/docs/dsl/tags.rb: pieces << "__DEPRECATED__: #{deprecated}"
lib/developer_portal/lib/liquid/docs/dsl/tags.rb: pieces << e.to_markdown
lib/developer_portal/lib/liquid/docs/dsl/tags.rb: documentation.examples << Example.new(*args)
lib/developer_portal/lib/liquid/drops/deprecated.rb: class << self
lib/developer_portal/lib/liquid/docs/dsl/filters.rb: self.filters << FilterMethod.new(name, @builder)
lib/developer_portal/lib/liquid/drops/account.rb: result << "* #{@model.field_label(name)}: #{value}\n"
lib/developer_portal/lib/liquid/drops/account.rb: result << "* #{@model.field_label(field.name)}: #{@model.field_value(field.name)}\n"
lib/developer_portal/lib/liquid/drops/user.rb: text << ' (all access)' if role == :admin
lib/developer_portal/lib/liquid/drops/user.rb: text << ' (access control by group)'
lib/developer_portal/lib/liquid/drops/base.rb: class << self
lib/developer_portal/lib/liquid/docs/generator.rb: @markdown << doc.to_markdown << "\n"
lib/developer_portal/lib/liquid/docs/generator.rb: @markdown << doc
lib/developer_portal/lib/liquid/docs/dsl.rb: documentation << Text.new(text)
lib/developer_portal/lib/liquid/docs/dsl.rb: @descriptions << Description.new(label)
lib/developer_portal/lib/liquid/docs/dsl.rb: @examples << Example.new(*args)
lib/developer_portal/lib/developer_portal/engine.rb: Rails.application.config.assets.paths << root.join("app", "assets", "stylesheets")
lib/developer_portal/lib/developer_portal/engine.rb: Rails.application.config.assets.paths << root.join("app", "assets", "javascripts")
lib/developer_portal/lib/liquid/tags/debug.rb: output << " You can use following variables:"
lib/developer_portal/lib/liquid/tags/debug.rb: output << " ================================"
lib/developer_portal/lib/liquid/tags/debug.rb: output << " ================================"
lib/developer_portal/lib/liquid/tags/debug.rb: output << " Check more info at #{::I18n.t 'docs.developer_portal.liquid_reference', docs_base_url: docs_base_url}"
lib/developer_portal/lib/liquid/tags/debug.rb: line << value[:label].ljust(max[:label])
lib/developer_portal/lib/cms/toolbar.rb: @liquids << template
lib/developer_portal/lib/cms/toolbar.rb: @templates << view
lib/exception_reporting.rb: message << exception.backtrace.map { |line| "\t#{line}" }.join("\n")
config/application.rb: config.assets.paths << Rails.root.join('assets')
config/application.rb: config.assets.paths << Rails.root.join("lib", "liquid", "template", "buyer_side")
config/application.rb: config.assets.paths << Rails.root.join("vendor", "assets", "images")
config/application.rb: config.assets.precompile << ->(filename, _path) do
config/initializers/instance_tag.rb: class << self
config/initializers/assets.rb:# Rails.application.config.assets.paths << Emoji.images_path
config/initializers/assets.rb:# Rails.application.config.assets.paths << Rails.root.join('node_modules')
config/initializers/inflections.rb: inflect.uncountable << 'trash'
config/initializers/inflections.rb: inflect.uncountable << 'ogone'
config/initializers/inflections.rb: inflect.uncountable << 'braintree_blue'
config/initializers/inflections.rb: inflect.uncountable << 'authorize_net'
config/initializers/inflections.rb: inflect.uncountable << 'stripe'
config/initializers/inflections.rb: inflect.uncountable << 'sudo'
config/initializers/inflections.rb: inflect.uncountable << 'github'
config/initializers/audited_hacks.rb: class << self
config/initializers/cve-2020-8161.rb: url << '/' if stat.directory?
config/initializers/cve-2020-8161.rb: basename << '/' if stat.directory?
config/initializers/cve-2020-8161.rb: files << [ url, basename, size, type, mtime ]
config/initializers/tags.rb: class << self
db/migrate/20091008161735_seed_system_operations.rb: operations << {:ref => 'user_signup', :name => 'New user signup'}
db/migrate/20091008161735_seed_system_operations.rb: operations << {:ref => 'plan_change', :name => 'Plan change by a user'}
db/migrate/20091008161735_seed_system_operations.rb: operations << {:ref => 'new_forum_post', :name => "New forum post"}
db/migrate/20091008161735_seed_system_operations.rb: operations << {:ref => 'cinstance_cancellation', :name => 'User cancels account'}
db/migrate/20091008161735_seed_system_operations.rb: operations << {:ref => 'weekly_reports', :name => 'Weekly aggregate reports'}
db/migrate/20091008161735_seed_system_operations.rb: operations << {:ref => 'daily_reports', :name => 'Daily aggregate reports'}
db/migrate/20100112120314_configure_provider_plans.rb: plan.features << feature
db/migrate/20101126175422_inject_theme_stylesheet_tag_into_layouts.rb: # class << template
db/migrate/20110125104959_replace_liquid_tags_in_layout.rb: # class << template
features/support/alerts.rb: scope << "[data-state='#{state}']" if state.present?
features/support/alerts.rb: scope << "[id*='alert']"
features/support/alerts.rb: table.first << 'State'
features/support/alerts.rb: table[index + 1] << tr['data-state']
db/migrate/20110208105005_liquid_markup_replacing.rb: # class << page
features/support/unused.rb: result << l
db/migrate/20110425111439_update_forum_liquid_tag.rb: # class << page
app/controllers/application_controller.rb: res << "?#{parsed.query}"
app/queries/monthly_revenue_query.rb: sums << Arel.sql(cost_formula).sum.as('total_cost')
app/controllers/partners/sessions_controller.rb: sso_url << "&return_to=#{params[:return_to]}" if params[:return_to].present?
app/controllers/provider/admin/liquid_docs_controller.rb: generator << File.new(Rails.root.join('doc','liquid',"_intro.md")).read
app/controllers/provider/admin/liquid_docs_controller.rb: generator << "# #{type.capitalize}\n"
app/controllers/provider/admin/liquid_docs_controller.rb: generator << File.new(Rails.root.join('doc','liquid',"#{type}.md")).read.gsub(/^#/, '##')
app/controllers/provider/admin/liquid_docs_controller.rb: generator << ERB.new(File.read(links)).result(binding)
app/workers/report_traffic_worker.rb: class << self
app/services/notifications/new_notification_system_migration.rb: to_disable << rule
app/forms/notification_preferences_form.rb: visible_categories[event_class.category] << notification
app/forms/notification_preferences_form.rb: ui_notification_categories << NotificationCategory.new(ui_title_key, notifications)
app/presenters/dashboard_widget_presenter.rb: content << h.render(partial: ajax_load, locals: locals) unless loaded? # trigger ajax refresh when not toggled
app/models/account/buyer_methods.rb: class << self
app/models/message_recipient.rb: class << self
app/models/user.rb: class << self
app/controllers/admin/api/credit_cards_controller.rb: forced_parameters << :credit_card_authorize_net_payment_profile_token
app/models/system_operation.rb: class << self
app/models/web_hook.rb: class << self
app/models/web_hook/failure.rb: xml << event
app/models/application_plan.rb: custom.pricing_rules << cloned_pricing_rule
app/models/application_plan.rb: custom.usage_limits << cloned_usage_limit
app/models/application_plan.rb: custom.plan_metrics << cloned_plan_metric
app/models/user_session.rb: class << self
app/models/plan.rb: class << self
app/models/plan.rb: buyer.contracts << contract
app/models/fields_definition.rb: class << self
app/models/fields_definition.rb: @targets << klass.to_s
app/models/cms/portlet.rb: defined << attr
app/models/cms/section.rb: inside << all.find(file_id)
app/models/cms/builtin.rb: (parent_sections.map(&:title) << title).join(' - ')
app/models/cms/template/version.rb: accessible << state.to_s
app/models/backend/status.rb: etern_ids << record.metric_id
app/models/cms/base_page.rb: sections << section
app/observers/web_hooks_observer.rb: builder << @cached_to_xml.sub(/^(<\?.+?\?>\s*)/, '')
app/models/cms/group.rb: label << " (#{section_titles.to_sentence})"
app/lib/three_scale/oauth2.rb: class << self
app/lib/three_scale/analytics/user_tracking.rb: class << self
app/lib/three_scale/diff.rb: output << oldhunk.diff(format)
app/lib/three_scale/diff.rb: output << "\n"
app/lib/three_scale/diff.rb: output << oldhunk.diff(format) << "\n"
app/lib/three_scale/spam_protection/protector.rb: buff << recaptcha_tags(:callback => 'onCaptchaSuccess', :error_callback => 'onCaptchaFail', :expired_callback => 'onCaptchaFail')
app/lib/three_scale/spam_protection/protector.rb: buff << form.semantic_errors(:recaptcha)
app/lib/three_scale/xml/builder.rb: @builder << xml
app/lib/three_scale/spam_protection/checks/javascript.rb: output << template.javascript_tag(js)
app/lib/three_scale/spam_protection/checks/javascript.rb: output << template.content_tag(:noscript){ no.html_safe }
app/lib/three_scale/warnings.rb: msg << "(#{args.join(", ")})" if args
app/lib/three_scale/warnings.rb: msg << "on #{object}" if object
app/lib/three_scale/swagger/translator.rb: swagger["__notifications"] << "001: replace `httpMethod' with `method'"
app/lib/three_scale/swagger/translator.rb: swagger["__notifications"] << "002: missing `swaggerVersion'"
app/lib/three_scale/swagger/translator.rb: swagger["__notifications"] << "003: missing mandatory `nickname'. a random one was generated."
app/lib/stats/deprecated.rb: meta_class = class << self; self; end
app/lib/stats/aggregation/rules.rb: @rules << rule
app/lib/stats/views/usage_hack.rb: @cached_keys << key.to_s unless @cached_keys.include?(key.to_s)
app/lib/stats/views/usage.rb: memo << usage_progress(options.merge(:metric => item))
app/lib/authentication/strategy.rb: class << self
app/mailers/notification_mailer.rb: class << self
app/mailers/notification_mailer.rb: hidden_notifications << name if hidden
app/mailers/notification_mailer.rb: hidden_onprem_multitenancy << name if hidden_om
app/lib/backend_client/connection.rb: '?' << params.to_query
app/events/services/service_created_event.rb: class << self
app/helpers/account_helper.rb: states << 'suspended' if current_account == Account.master
app/helpers/table_helper.rb: content << content_tag(:tr, content_tag(:th, h(name)) +
app/helpers/menu_helper.rb: link << capture(&block) if block
app/helpers/provider/admin/cms/templates_helper.rb: result << [ prefix.html_safe + h(section.title), section.id ]
app/helpers/application_helper.rb: layout << 'tabs'
app/helpers/application_helper.rb: (@feed_icons ||= []) << { :url => url, :title => title }
app/helpers/application_helper.rb: title << " "+'by {user}'[:by_user,h(@user.display_name)] if @user
app/helpers/application_helper.rb: title << " "+'in {forum}'[:in_forum,h(@forum.name)] if @forum
app/helpers/application_helper.rb: contents << content_tag(options[:header_tag] || :h2, header_message.html_safe) unless header_message.blank?
app/helpers/application_helper.rb: contents << content_tag(:p, message.html_safe) unless message.blank?
app/helpers/application_helper.rb: contents << content_tag(:ul, error_messages.html_safe)
app/helpers/provider/admin/cms/dashboard_helper.rb: @done_steps << done
app/helpers/whitelabel/admin/accounts/users_helper.rb: text << ' (full access)' if role == :admin
app/helpers/whitelabel/admin/accounts/users_helper.rb: text << ' (limited access, cannot create new API products or API backends, cannot access or change account-level settings)' if role == :member && can?(:create_contributors, current_user.account)
app/helpers/whitelabel/admin/accounts/users_helper.rb: # text << ' (can update/create content)' if role == :contributor
app/events/base_event_store_event.rb: class << self
app/events/service_contracts/service_contract_cancellation_event.rb: class << self
app/helpers/cms/form_helper.rb: class_names << 'formtastic'
app/helpers/cms/form_helper.rb: class_names << case record_or_name_or_array
app/helpers/cms/form_helper.rb: fields_for(record_or_name_or_array, nil, *(args << options), &proc)
app/helpers/cms/connectors_helper.rb: buff << "
"
app/helpers/cms/connectors_helper.rb: buff << "#{item['name']}"
app/helpers/cms/connectors_helper.rb: buff << ""
app/helpers/cms/connectors_helper.rb: buff << toc_for(node)
app/helpers/cms/connectors_helper.rb: buff << "
"
app/helpers/cms/connectors_helper.rb: buff << "#{link_to(truncate(item['name']), item['path'], {:title=>item['name']})}"
app/helpers/contract_helper.rb: classes << 'plan_name' << 'thhead'
app/helpers/contract_helper.rb: classes << 'thead_first' if index == 0
app/helpers/contract_helper.rb: classes << 'thead_last' if (index + 1) == plan_size
app/helpers/contract_helper.rb: classes << 'selected' if plan.bought_by?(current_account)
app/helpers/admin/settings_helper.rb: txt << if settings.monthly_charging_enabled?
app/helpers/buyer/plans_helper.rb: plans << owned_plan
app/helpers/buyers/fields_definitions_helper.rb: fields << show_if_present(field.name, object).to_s
app/events/cinstances/cinstance_cancellation_event.rb: class << self
app/helpers/alerts_helper.rb: content_tag(:th, label, class: "u-underline") << levels.map do |level|
app/events/posts/post_created_event.rb: class << self