Notes:
This release of the gem adds support for ActiveRecord to use parameterized SQL Queries with DB2. With this new feature you can now reap more performance benefits for your Rails application. To enable this feature, the only extra step that you will need to perform is add the parameter “parameterized” in your database.yml file and set it to true. A sample database.yml file showing development section with usage of parameterized SQL Queries enabled is as below.
development:
adapter: ibm_db
username: db2inst1
password: secret
database: devdb
#schema: db2inst1
#host: localhost
#port: 50000
#account: my_account
#app_user: my_app_user
#application: my_application
#workstation: my_workstation
parameterized: true
Changes:
- Support for usage of parameterized SQL queries
- Exposed constant VERSION in the driver [Feature Request: #27231]
- Support for Ruby-mingw32 enabled
|