APIdock / Ruby on Rails
/
Browse About
method

blank?

v4.2.9 - Show latest stable - Class: ActiveRecord::Relation
blank?()
public

Returns true if relation is blank.

# File activerecord/lib/active_record/relation.rb, line 620
    def blank?
      to_a.blank?
    end

Related methods

  • Instance methods
  • ==
  • _update_record
  • any?
  • as_json
  • blank?
  • build
  • create
  • create!
  • delete
  • delete_all
  • destroy
  • destroy_all
  • eager_loading?
  • empty?
  • encode_with
  • explain
  • find_or_create_by
  • find_or_create_by!
  • find_or_initialize_by
  • first_or_create
  • first_or_create!
  • first_or_initialize
  • initialize_copy
  • insert
  • inspect
  • joined_includes_values
  • load
  • many?
  • new
  • pretty_print
  • reload
  • reset
  • scope_for_create
  • scoping
  • size
  • substitute_values
  • to_a
  • to_sql
  • uniq_value
  • update
  • update_all
  • values
  • where_values_hash
  • Class methods
  • new
  • Private methods
  • privatebuild_preloader
  • privateexec_queries
  • privatereferences_eager_loaded_tables?
  • privatetables_in_string
APIdock API Documentation Browser

© 2026 APIdock