Skip to content

Commit 31d2698

Browse files
author
Aidan Haran
committed
New Rails application instructions
1 parent 6760a81 commit 31d2698

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,16 @@ ActiveRecord::ConnectionAdapters::SQLServerAdapter.showplan_option = 'SHOWPLAN_X
152152
**NOTE:** The method we utilize to make SHOWPLANs work is very brittle to complex SQL. There is no getting around this as we have to deconstruct an already prepared statement for the sp_executesql method. If you find that explain breaks your app, simple disable it. Do not open a github issue unless you have a patch. Please [consult the Rails guides](http://guides.rubyonrails.org/active_record_querying.html#running-explain) for more info.
153153

154154

155-
## New Rails applications
155+
## New Rails Applications
156156

157157
When creating a new Rails application you can specify that you want to use the SQL Server adapter using the `database` option:
158158

159-
160159
```
161160
rails new my_app --database=sqlserver
162161
```
163162

164-
To then connect the new application to your SQL Server instance edit the `config/database.yml` file with the username, password and host of your SQL Server instance.
163+
To then connect the application to your SQL Server instance edit the `config/database.yml` file with the username, password and host of your SQL Server instance.
164+
165165

166166
## Installation
167167

0 commit comments

Comments
 (0)