Sha256: 3d6751260910e926ac273bda0213a03c71367a1fdcc0588f6c2ef703caf35fa5

Contents?: true

Size: 1.6 KB

Versions: 23

Compression:

Stored size: 1.6 KB

Contents

+-------------------------------------------+-------------------------------------------+
| README for Parameterized Queries Support in Ruby-on-Rails/ Activerecord applications  |
+-------------------------------------------+-------------------------------------------+

Enabling Usage of Parameterized Queries with Ruby-on-Rails / Activerecord applications
======================================================================================
	To enable usage of parameterized SQL queries with Ruby-on-Rails/ActiveRecord applications, in your connection configuration (database.yml), set "parameterized" to true. By default "parameterized" is false (if not specified). A sample database.yml file showing development section with parameterized queries enabled looks 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

Similarly for the other sections (test/production) of the database.yml file set "parameterized" to true to enable usage of parameterized SQL queries


Supported Activerecord Versions
===============================
  Activerecord-5.0.7 and above
  
  
Supported Operating Systems and Databases
=========================================
Refer the main README


Feedback
========
  Your feedback is very much appreciated and expected through github:
   - github issue: https://github.com/ibmdb/ruby-ibmdb/issues

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ibm_db-5.0.2 ParameterizedQueries README
ibm_db-4.0.0-x86-mingw32 ParameterizedQueries README
ibm_db-4.0.0 ParameterizedQueries README