Class: ViewRoomConfiguration
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewRoomConfiguration
- Includes:
- Models::SearchableView, Models::SearchableViewWithLineItems, PgSearch::Model
- Defined in:
- app/models/view_room_configuration.rb
Overview
== Schema Information
Table name: view_room_configurations
Database name: primary
id :integer primary key
customer_full_name :string(255)
customer_state :string(255)
designer_employee_full_name :string(255)
floor_type_name :string(80)
floorplanner_employee_full_name :string(255)
has_orders :boolean
has_quotes :boolean
heating_elements_count :bigint
item_ids :integer is an Array
labeler_employee_full_name :string(255)
last_revision :boolean
name :string(255)
opportunity_name :string(80)
opportunity_source_full_name :string(500)
primary_sales_rep_name :string(255)
priority :string(255)
priority_factor :integer
qc_employee_full_name :string(255)
reception_type :string(255)
reference_number :string
room_type_name :string(32)
state :string(255)
vignette :boolean
created_at :datetime
updated_at :datetime
customer_id :integer
designer_employee_id :integer
floor_type_id :integer
floorplanner_employee_id :integer
installation_plan_qc_employee_id :integer
labeler_employee_id :integer
opportunity_id :integer
opportunity_source_id :integer
primary_sales_rep_id :integer
room_type_id :integer
Constant Summary
Constants included from Models::Schedulable
Models::Schedulable::SIMPLE_FORM_OPTIONS
Class Method Summary collapse
-
.ransackable_scopes(_auth_object = nil) ⇒ Array<Symbol>
Expose pg_search scope to Ransack (Room Search criteria) and the strict probe in Search#apply_criteria.
Methods included from Models::SearchableViewWithLineItems
contains_item_ids, contains_product_category_ids, contains_product_line_ids, not_contains_item_ids, not_contains_product_category_ids, not_contains_product_line_ids
Methods included from Models::SearchableView
#crm_link, #crm_link_subtitle, #has_columns?, #readonly?
Methods inherited from ApplicationViewRecord
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransortable_attributes, #to_relation
Methods included from Models::Schedulable
Methods included from Models::AfterCommittable
Methods included from Models::EventPublishable
Class Method Details
.ransackable_scopes(_auth_object = nil) ⇒ Array<Symbol>
Expose pg_search scope to Ransack (Room Search criteria) and the strict probe in Search#apply_criteria.
53 54 55 |
# File 'app/models/view_room_configuration.rb', line 53 def self.ransackable_scopes(_auth_object = nil) super + [:room_name_search] end |