Beginner’s Ruby / Database Tutorial
Ruby Database Access
• DBI stands for Database independent interface for Ruby
• DBI provides an abstraction layer between the Ruby code and the underlying database.
• You can use databases like Oracle, SQL Server and MySQL.
• DBI defines set of methods, variables, and conventions that provide a consistent database interface, independent of the actual database being used.
• From cmd (or terminal)
– sudo gem install dbi
• This will install the DBI module
Anthony Long :: Feb.03.2010 :: Blog :: No Comments »