Displaying 20 results from an estimated 70000 matches similar to: "where is activerecord-oracle-adapter ?"
2008 Jun 04
4
Where is the ActiveRecord Oracle Adapter with 2.1?
I tried this, which worked before:
sudo gem install activerecord-oracle-adapter --source http://gems.rubyonrails.org
--no-ri --no-rdoc
But all I get is:
ERROR: could not find activerecord-oracle-adapter locally or in a
repository
Anyone else able to install the Oracle adapter?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
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
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 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
2006 Jul 07
5
link_to: link is missing id
I''m using a legacy table, where the unique id is not ''id''
I have a Model class like the following:
class Article < ActiveRecord::Base
set_primary_key "ARTICLE_ID"
end
however, using a link_to like the following (modified scaffolding),
the link has no id value:
<% for article in @articles %>
<tr>
<% for column in
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
2008 Feb 22
2
Connecting to Oracle from Rails 2.0.2
Long afternoon, but finally got it. Hope this spares you some pain:
Installation instructions mainly based on:
http://ruby.about.com/od/enterprise/ss/ruby_oracle.htm
Install Oracle Instant Client:
mkdir C:\oracle
cd c:\oracle
Get the following files from here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
and unzip them into the c:\oracle\
unzip
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 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 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
2006 Jan 26
3
Calling a SOAP service from within a Rails controller
The following works fine as a standalone ruby program:
**********************************************************************************************
t = Time.now
starter = Time.local(t.year,t.mon, t.day) + (24 *3600)
ender = starter + 7 * 24 *3600
lat = 40.352039
lon = -74.191961
require ''soap/wsdlDriver''
params = {:maxt => false, :mint => false, :temp => true, :dew
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''
2005 Mar 21
3
Oracle Adapter on Mac OS X?
I had previously gotten Maik Schmidt''s patch for Oracle working, but
now am trying the official Oracle adapter with the latest Rails. I''ve
been trying to get the OCI8 connector to install under OS X, but get
the following error. Has anyone gotten it working?
----
[waterdog:~/Desktop/ruby-oci8-0.1.9] stmpjmpr% ruby setup.rb config
---> lib
---> lib/DBD
---> lib/DBD/OCI8
2007 Feb 07
3
Gem problem with ActiveRecord/Oracle (without rails)
I have written the small script below. I have the ruby-oci adapter
installed, the newest version of gems and the newest version of
ActiveRecord. When I run the code I''m getting the follow error following
my code. It seems to be an issue with gems as far as I can tell. Any
help?
Thanks,
Drew
Code:
require ''ruby_gems''
require ''active_record''
2006 Apr 06
7
[Fwd: Rails AR/Oracle Unit Test: [4185] failed]
So my automated script caught this issue, though I think my email
headers were bad, so rails-core has put the automated email on hold
pending "moderation".
I''ll fix that issue, and look at the one below as well.
-------- Original Message --------
Subject: Rails AR/Oracle Unit Test: [4185] failed
Date: Thu, 6 Apr 2006 08:32:04 -0700
From: Michael Schoen
2005 Dec 30
4
soap4r 1.5.5 seems to break actionWebService tests
Hi,
I just upgraded to soap4r 1.5.5, and now all my Rails Functional tests
for the action_web_services fail as follows, any ideas what I did wrong?
Thanks
TypeError: can''t modify frozen object
/usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name=''
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param''
2008 Dec 05
1
ActiveRecord Oracle and nvarchar2 or nclob datatype
Hi,
I ve got oracle database which exists prior to my rails app... :-(
I ve got trouble when I am updating/inserting records of a table which
includes nvarchar2 attributes.
These have a specific maximum length.
I often get an error Value too long for column when doing my inserts/
updates, but in fact that is not the case.
I ve taken a look at the generated sql statements....
As far as I know
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 Oct 13
5
RoR + oracle + bind vars
Hi,
I have a question about bundle: RoR + oracle + bind variables.
Heaving read forums/blogs/etc I found out RoR does not use bind vars
for oracle particularly (and for all adapters in general).
Then I found Michael''s patch
(http://dev.rubyonrails.org/attachment/ticket/5199/oracle_bind.patch)
but it was not added to the following RoR versions (since the end of
May). As I suppose it was
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