Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-isler committed Nov 12, 2024
1 parent 30dc01e commit 32c1029
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/hotsheet/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def ensure_only_one_attribute_set

def validate_attribute_existence
model_class = model_name.to_s.constantize

return unless ActiveRecord::Base.connection.table_exists?(model_class.table_name)

all_attributes = model_class.column_names

(included_attributes + excluded_attributes).each do |attr|
Expand Down

0 comments on commit 32c1029

Please sign in to comment.