Skip to content

Instantly share code, notes, and snippets.

View eugenio-oliveira's full-sized avatar

Eugênio Oliveira eugenio-oliveira

  • Freelancer
  • Teresina - Piauí, Brazil
View GitHub Profile
# Oracle/OCI 8i, 9, 10g
#
# Requires Ruby/OCI8:
# http://rubyforge.org/projects/ruby-oci8/
#
# Specify your database using any valid connection syntax, such as a
# tnsnames.ora service name, or an SQL connect string of the form:
#
# //host:[port][/service name]
#
@eugenio-oliveira
eugenio-oliveira / gemfile
Created July 11, 2014 01:25
meu gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
# Use oracle as the database for Active Record
gem 'ruby-oci8'
gem "activerecord-oracle_enhanced-adapter", "~> 1.5.0"
@eugenio-oliveira
eugenio-oliveira / gemfile.lock
Created July 10, 2014 00:51
meu gemfile.lock
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.0)
actionpack (= 4.0.0)
mail (~> 2.5.3)
actionpack (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
erubis (~> 2.7.0)
@eugenio-oliveira
eugenio-oliveira / erro
Created July 10, 2014 00:21
erro oracle
NoMethodError: undefined method `without_prepared_statement?' for #<ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter:0x007f49f493d628>: SELECT "SCHEMA_MIGRATIONS".* FROM "SCHEMA_MIGRATIONS"
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
# Use oracle as the database for Active Record
gem 'ruby-oci8'
gem 'activerecord-oracle_enhanced-adapter'
@eugenio-oliveira
eugenio-oliveira / database.yml
Created July 9, 2014 22:45
meu database.yml
# Oracle/OCI 8i, 9, 10g
#
# Requires Ruby/OCI8:
# http://rubyforge.org/projects/ruby-oci8/
#
# Specify your database using any valid connection syntax, such as a
# tnsnames.ora service name, or an SQL connect string of the form:
#
# //host:[port][/service name]
#