Skip to content

Commit 508334d

Browse files
committed
Tidy up README
1 parent 8bb4ab7 commit 508334d

File tree

1 file changed

+7
-28
lines changed

1 file changed

+7
-28
lines changed

README.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Interested in older versions? We follow a rational versioning policy that tracks
1515

1616
We support every data type supported by FreeTDS. All simplified Rails types in migrations will coorespond to a matching SQL Server national (unicode) data type. Always check the `initialize_native_database_types` [(here)](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/blob/master/lib/active_record/connection_adapters/sqlserver/schema_statements.rb) for an updated list.
1717

18-
The following types (`date`, `datetime2`, `datetimeoffset`, `time`) all require TDS version 7.3 with TinyTDS. We recommend using FreeTDS 1.0 or higher which default to using `TDSVER` to "7.3". The adapter also sets TinyTDS's `tds_version` to this as well if non is specified.
18+
The following types (`date`, `datetime2`, `datetimeoffset`, `time`) all require TDS version `7.3` with TinyTDS. We recommend using FreeTDS 1.0 or higher which default to using `TDSVER` to `7.3`. The adapter also sets TinyTDS's `tds_version` to this as well if non is specified.
1919

20-
The Rails v5 adapter supports ActiveRecord's `datetime_with_precision` setting. This means that passing `:precision` to a datetime column is supported. Using a pecision with the `:datetime` type will signal the adapter to use the `datetime2` type under the hood.
20+
The Rails v5 adapter supports ActiveRecord's `datetime_with_precision` setting. This means that passing `:precision` to a datetime column is supported. Using a precision with the `:datetime` type will signal the adapter to use the `datetime2` type under the hood.
2121

2222

2323
#### Identity Inserts with Triggers
@@ -80,9 +80,9 @@ end
8080
Every class that sub classes ActiveRecord::Base will now have an execute_procedure class method to use. This method takes the name of the stored procedure which can be a string or symbol and any number of variables to pass to the procedure. Arguments will automatically be quoted per the connection's standards as normal. For example:
8181

8282
```ruby
83-
Account.execute_procedure :update_totals, 'admin', nil, true
83+
Account.execute_procedure(:update_totals, 'admin', nil, true
8484
# Or with named parameters.
85-
Account.execute_procedure :update_totals, named: 'params'
85+
Account.execute_procedure(:update_totals, named: 'params')
8686
```
8787

8888
#### Explain Support (SHOWPLAN)
@@ -119,7 +119,7 @@ ActiveRecord::ConnectionAdapters::SQLServerAdapter.showplan_option = 'SHOWPLAN_X
119119

120120
## Installation
121121

122-
The adapter has no strict gem dependencies outside of ActiveRecord. You will have to pick a connection mode, the default is dblib which uses the TinyTDS gem. Just bundle the gem and the adapter will use it.
122+
The adapter has no strict gem dependencies outside of `ActiveRecord`. You will have to pick a connection mode, the default is dblib which uses the `TinyTDS` gem. Just bundle the gem and the adapter will use it.
123123

124124
```ruby
125125
gem 'tiny_tds'
@@ -139,30 +139,9 @@ If you would like to contribute a feature or bugfix, thanks! To make sure your f
139139

140140
Many many people have contributed. If you do not see your name here and it should be let us know. Also, many thanks go out to those that have pledged financial contributions.
141141

142-
143-
## Contributors
144-
145-
Up-to-date list of contributors: http://github.com/rails-sqlserver/activerecord-sqlserver-adapter/contributors
146-
147-
* metaskills (Ken Collins)
148-
* Annaswims (Annaswims)
149-
* wbond (Will Bond)
150-
* Thirdshift (Garrett Hart)
151-
* h-lame (Murray Steele)
152-
* vegantech
153-
* cjheath (Clifford Heath)
154-
* fryguy (Jason Frey)
155-
* jrafanie (Joe Rafaniello)
156-
* nerdrew (Andrew Ryan)
157-
* snowblink (Jonathan Lim)
158-
* koppen (Jakob Skjerning)
159-
* ebryn (Erik Bryn)
160-
* adzap (Adam Meehan)
161-
* neomindryan (Ryan Findley)
162-
* jeremydurham (Jeremy Durham)
163-
142+
You can see an up-to-date list of contributors here: http://github.com/rails-sqlserver/activerecord-sqlserver-adapter/contributors
164143

165144
## License
166145

167-
Copyright © 2008-2017. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.
146+
Copyright © 2008-2020. It is free software, and may be redistributed under the terms specified in the [MIT-LICENSE](MIT-LICENSE) file.
168147

0 commit comments

Comments
 (0)