Skip to content

Commit

Permalink
Remove active_record_supports_optional_for_associations method
Browse files Browse the repository at this point in the history
  • Loading branch information
vsppedro committed Mar 7, 2021
1 parent 81a8746 commit 07b0670
Show file tree
Hide file tree
Showing 3 changed files with 381 additions and 573 deletions.
4 changes: 0 additions & 4 deletions spec/support/unit/helpers/active_record_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ def active_record_version
Tests::Version.new(::ActiveRecord::VERSION::STRING)
end

def active_record_supports_optional_for_associations?
active_record_version >= 5
end

def active_record_supports_expression_indexes?
active_record_version >= 5
end
Expand Down
Loading

0 comments on commit 07b0670

Please sign in to comment.