Skip to content

Commit e8166c4

Browse files
Hyphenate "database specific" [ci-skip]
"database-specific" is a compound adjective, and thus hyphenated.
1 parent 007ea58 commit e8166c4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

activerecord/lib/active_record/attribute_methods/dirty.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module AttributeMethods
77
# = Active Record Attribute Methods \Dirty
88
#
99
# Provides a way to track changes in your Active Record models. It adds all
10-
# methods from ActiveModel::Dirty and adds database specific methods.
10+
# methods from ActiveModel::Dirty and adds database-specific methods.
1111
#
1212
# A newly created +Person+ object is unchanged:
1313
#

activerecord/lib/active_record/timestamp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module ActiveRecord
3030
#
3131
# ActiveRecord::Base.time_zone_aware_types = [:datetime]
3232
#
33-
# You can also add database specific timezone aware types. For example, for PostgreSQL:
33+
# You can also add database-specific timezone aware types. For example, for PostgreSQL:
3434
#
3535
# ActiveRecord::Base.time_zone_aware_types += [:tsrange, :tstzrange]
3636
#

activerecord/test/cases/arel/select_manager_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ def test_join_sources
963963
_(manager.where_sql).must_be_like %{ WHERE "users"."id" = 10 AND "users"."id" = 11}
964964
end
965965

966-
it "handles database specific statements" do
966+
it "handles database-specific statements" do
967967
old_visitor = Table.engine.connection.visitor
968968
Table.engine.connection.visitor = Visitors::PostgreSQL.new Table.engine.connection
969969
table = Table.new :users

guides/source/active_record_migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ you. You can change the name of the column with the `:primary_key` option, or
374374
pass an array to `:primary_key` for a composite primary key. If you don't want
375375
a primary key at all, you can pass the option `id: false`.
376376

377-
If you need to pass database specific options you can place an SQL fragment in
377+
If you need to pass database-specific options you can place an SQL fragment in
378378
the `:options` option. For example:
379379

380380
```ruby

0 commit comments

Comments
 (0)