Skip to content

Commit 1935454

Browse files
committed
Note possible schema/user setup.
1 parent 3a57c11 commit 1935454

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.rdoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ Although it is not necessary, the Ruby convention is to use lowercase method nam
105105
ActiveRecord::ConnectionAdapters::SQLServerAdapter.lowercase_schema_reflection = true
106106

107107

108+
==== Schemas & Users
109+
110+
Depending on your user and schema setup, it may be needed to use a table name prefix of "dbo.". So something like this in your initializer file for ActiveRecord or the adapter.
111+
112+
ActiveRecord::Base.table_name_prefix = 'dbo.'
113+
114+
108115
==== Schema Information Logging
109116

110117
By default all queries to the INFORMATION_SCHEMA table is silenced. If you think logging these queries are useful, you can enable it by adding this like to a initializer file.

0 commit comments

Comments
 (0)