We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
table_exists?
1 parent 6ec669b commit 24f2502Copy full SHA for 24f2502
activerecord/lib/active_record/encryption/encryptable_record.rb
@@ -133,7 +133,7 @@ def add_length_validation_for_encrypted_columns
133
end
134
135
def validate_column_size(attribute_name)
136
- if table_exists? && limit = columns_hash[attribute_name.to_s]&.limit
+ if limit = columns_hash[attribute_name.to_s]&.limit
137
validates_length_of attribute_name, maximum: limit
138
139
0 commit comments