Displaying 20 results from an estimated 11000 matches similar to: "Where is the ActiveRecord Oracle Adapter with 2.1?"
2009 Dec 30
9
Oracle adapter problem? How to fix this?
Hi,
My setup is:
Ruby 1.8.6
Rails 2.3.5
activerecord-oracle-adapter (1.0.0.9250)
I upgraded Rails and the adapter recently and I just went through hell
trying to find a problem while inserting a record in a table.
Rails was giving me this error:
OCIError (ORA-02289: sequence does not exist):
stmt.c:539:in oci8lib.so
c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:753:in `exec''
2008 Jan 04
2
oracle adapter + activerecord sessions do not work
Anyone know what''s up with the activerecord session store when using
the oracle adapter in Rails 2.0.2 ?
I can set a session variable and can then see it''s actually set using
the debugger, but after the request completes the session is empty
(the @data member is nil). The session_id is staying the same and the
updated_at field is being updated but nothing I put in a session
2007 Dec 14
17
Rails 2.0.1 RC2 - activerecord-oracle-adapter not found
Hi,
Does anyone know why gem can''t find activerecord-oracle-adapter?
C:\>rails --version
Rails 2.0.1
C:\>gem install activerecord-oracle-adapter
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find activerecord-oracle-adapter (> 0) in any repository
It all started when I tried to run Mongrel on a Win32 box:
C:\web\FDS_Server>mongrel_rails start
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first
project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I
have created the models/controllers/views for my existing Oracle
tables.
All seems to work well, using /model/index, /model/show for most of my
tables, *except* when one of the tables contains a Oracle ''date''
column, for
2006 Dec 19
1
Internal API errors in EdgeRails
Started getting these in my development.log when I called a bad
before_filter. Looks like log_error needs to be updated?
DEPRECATION WARNING: @response is deprecated! Call response.inspect
instead of @response.inspect. Args: [] See http://www.rubyonrails
.org/deprecation for details. (called from log_error at
./script/../config/../vendor/rails/actionpack/lib/action_controller/rescue.rb:
66)
2010 Aug 13
4
Rails and Oracle - can select date but cannot save
I''m seeing a behavior in Rails that I find very strange. Having worked
quite a bit with Oracle with other languages I would always dutifully do
ALTER SESSION SET NLS_DATE_FORMAT = <my_date_format> and ensure I use
that date format in my application.
With Rails I still have not figured out how to execute an ALTER SESSION
statement after connecting to the database (I''m using
2011 Sep 02
3
problems with oracle xe server connection
i''m working on ubuntu 11.04; i need to create some rails application
with oracle database on local computer.
i installed: ruby 1.9.2, rails 3.1, oracle 10g XE, rubu-oci8 2.0.6,
gem ''activerecord-oracle_enhanced-adapter'', create database user named
''orak'' with password ''orakpass'' through 127.0.0.1:8080/apex, i maked
new application
2006 Mar 28
4
Problem with ActiveRecord, create, save, and Oracle adapter?
Hi all,
Ruby 1.8.4
Rails 1.1
OCI8 0.1.14
I think I''m hitting an issue with ActiveRecord::Base#save and the Oracle
adapter. Line 158 in the schedules_controller.rb file is simply:
158: if @schedule.save
159: flash[:notice] = ''Schedule was successfully created.''
160: redirect_to :action => ''list''
161: else
162: render :action =>
2008 Apr 21
1
where is activerecord-oracle-adapter ?
''gem search oracle'' turned up no activerecord-oracle-adapter, why isn''t it
available?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2010 Nov 10
0
Need activerecord-oracle-adapter-1.0.0.9216 gem for legacy reasons
I''m trying to duplicate a production environment that uses
activerecord-oracle-adapter-1.0.0.9216, but as far as I can tell all
traces of that gem have vanished from repositories online.
Does anyone know where I can get the following gem?
activerecord-oracle-adapter --version=1.0.0.9216
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
2009 Mar 22
3
undefined method 'define_a_column' for class 'OCI8::Cursor'
Hello. Tired of searching and finding nothing useful.
Moving application to laptop for trip.
Installed:
- Ruby (1.8.6, patchlevel 111)
- Rails (2.2.2)
- Oracle adapter (1.0.0.9250)
- ruby-oci8 (2.0.1)
- Oracle 10g Express Edition
database.yml:
development:
adapter: oracle
etc...
When I start Mongrel (ruby script/server) I get the error above. I''ve
looked everywhere I can think of.
2011 Mar 11
2
Problem with Redmine
I am having a problem getting Redmine to run with Oracle (11.2) backend.
I get this error (below) because Oracle table names are limited to 30
characters. Does anyone around here know of a fix or workaround? I''m
wondering if I can simple change the table name, or if that will break
the application.
When doing a db migrate to an Oracle db this creates the error below.
I''m so
2010 Feb 24
4
"Sequence does not exist" for joined model
Hello all,
I''m in my 5th month on Ruby on Rails and still learning.
I have an application that works fine in sqlite3 and then the boss says
he wants it migrated to Oracle.
Now, I know very little about Oracle, enough to get into trouble.
When I did the migration everything went haywire. Well, I''ve refactored
several problems and now I have another.
I have two models with a
2006 Nov 04
0
Problems with ActiveRecord, Oracle adapter, find_by_sql, multi-table join - ORA-04043 error
Hi all,
Windows XP
Oracle 10g client
OCI8 0.1.16
Ruby 1.8.5
Rails 1.1.6
I''m hitting weird behavior with the Oracle adapter and a find_by_sql
call on a multi-table join.
The SQL looks like this:
SELECT DISTINCT e1.ip_address, loc.street, loc.city, loc.state
FROM schema.net_element ne, schema.equipment e1, schema.equipment e2,
schema.building b, schema.cust_loc cl, schema.location
2009 Oct 08
2
Problem with oracle_enhanced adapter
Hi,
when I configure my app to use the oracle_enhanced adapter it throws the
following exception:
java.sql.SQLException: ORA-01882 : Timezone region not found
How can I solve this?
Thanks,
Rafael Roque
--
Posted via http://www.ruby-forum.com/.
2009 Mar 25
3
List of databases supported by Rails
Where can I obtain list of databases supported by Ruby on Rails?
Thanks
TheR
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe
2008 Oct 28
0
oracle_enhanced adapter 'uninitialized constant' error
Hi,
Can any one help me? I''m using Ubuntu and trying to connect to an oracle
database using oracle_enhanced adapter connection, but keeps getting
following error:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.
rb:275:in `load_missing_constant'': uninitialized constant
ActiveRecord::Connecti
onAdapters::OracleEnhancedAdapter (NameError)
2008 Feb 06
3
slogging my way thru oracle, not adapter? gem install fails?
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ gem install
activerecord-oci-adapter
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find activerecord-oci-adapter (> 0) in any repository
<ubuntu_gutsy> me@ubuntu:~/workspace/oracle/ro$ rake db:migrate
(in /home/me/workspace/oracle/ro)
rake
2008 Jun 30
2
activerecord-sqlserver adapter broken or worse
The activerecord-sqlserver-adapter gem is still sort of available via
gems.rubyonrails.org, but it will not install on machines that have
Rails 2.1 (or its version of ActiveSupport) installed. This has been
confirmed with versions of rubygems through 1.2.
This seems to indicate that Rails is no longer tested against the MSSQL
adapter and that the adapter is also no longer tested against Rails
2011 Sep 23
4
Could not find a valid gem 'activerecord-mysql-adapter' (>= 0) in any repository
Hi,
since upgrading my gems from activerecord-3.0.10 to activerecord-3.1.0
my scripts using activerecord don''t work anymore. I get an error
message
Error Please install the mysql adapter: `gem install activerecord-
mysql-adapter` (Could not find RubyGem mysql (~> 2.8.1)
)
but gem does not find such a package:
ERROR: Could not find a valid gem