You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-28Lines changed: 7 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ Interested in older versions? We follow a rational versioning policy that tracks
15
15
16
16
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.
17
17
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.
19
19
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.
21
21
22
22
23
23
#### Identity Inserts with Triggers
@@ -80,9 +80,9 @@ end
80
80
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:
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.
123
123
124
124
```ruby
125
125
gem 'tiny_tds'
@@ -139,30 +139,9 @@ If you would like to contribute a feature or bugfix, thanks! To make sure your f
139
139
140
140
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.
141
141
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
0 commit comments