Class: RescueUniqueConstraint::Adapter::PostgresqlAdapter
- Inherits:
-
Object
- Object
- RescueUniqueConstraint::Adapter::PostgresqlAdapter
- Defined in:
- lib/rescue_unique_constraint/adapter/postgresql_adapter.rb
Instance Method Summary collapse
Instance Method Details
#index_error?(index, error_message) ⇒ Boolean
4 5 6 |
# File 'lib/rescue_unique_constraint/adapter/postgresql_adapter.rb', line 4 def index_error?(index, ) [/#{index.name}/] end |