File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
lib/active_record/connection_adapters/sqlserver Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 33#### Fixed
44
55- [ #872 ] ( https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/872 ) Use native String#start_with
6+ - [ #876 ] ( https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/876 ) Use native String#end_with
67- [ #873 ] ( https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/873 ) Various fixes to get the tests running for Rails 6.1
78- [ #874 ] ( https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/874 ) Deduplicate schema cache structures
89
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def indexes(table_name)
5151 index [ :index_keys ] . split ( "," ) . each do |column |
5252 column . strip!
5353
54- if column . ends_with ?( "(-)" )
54+ if column . end_with ?( "(-)" )
5555 column . gsub! "(-)" , ""
5656 orders [ column ] = :desc
5757 end
You can’t perform that action at this time.
0 commit comments