Displaying 20 results from an estimated 3000 matches similar to: "Ruby/OCI8 not working on Rails 1.1"
2006 Apr 20
4
oci8 mac os x intel
Is rails + oci8 + mac os x intel a winning combination? It appears
that oci8 might be a issue.
2006 Apr 03
2
Problems with STI in has_many/belongs_to in Rails 1.1
I have a problem that surfaced in my attempt to upgrade my application
to Rails 1.1.
We have a STI model on the "belongs_to" side of a has_many/belongs_to
relationship. All my unit tests for this model pass, and the
relationships all seem to work fine.
But in my functional tests, I''m getting errors. I''ve traced it back
into the call to the has_many
2006 Mar 18
9
RJS - not working in IE
I searched thru all the postings about RJS, and I didn''t find one person
who complained of problems specific to IE, but that''s what I''ve got.
My environment is:
Rails 1.0 + RJS Plugin
Updated Javascripts to Scriptaculous 1.5.3 (for evalScripts support)
Monkeypatched in_place_editor to support evalScripts
I have just started using RJS, and I have two .rjs templates.
2006 Mar 29
5
Database passwords with numbers
I have database password in my database.yml as "passw0rd" however when I
go to http://localhost:3000/rails/info/properties I get this error:
private method `gsub'' called for 1:Fixnum
But if I just use "password" for my password everything is ok.
Any ideas?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 18
2
in_place_editor change request...
Hi,
How do I make a request to the Rails team to include a line something
like:
js_options[''savingText''] = %(''#{options[:saving_text]}'') if options
[:saving_text]
in the in_place_editor method?
script.aculo.us supports the ''savingText'' option to control the text
displayed while saving after an in-line edit. Having the ability to
2006 Mar 22
1
RJS - Still not working in IE
The previous thread on this topic got a little disjointed, so I thought
I''d summarize the issue again, in hopes that someone could help. To
re-iterate, this rjs works in Firefox and Safari on Mac, and in Firefox
on Windows. It fails, in IE on Windows. The failure is that the second
page.replace_html seems to do nothing.
My environment is:
Rails 1.0 + RJS Plugin
Updated
2006 Apr 04
2
Ajax Effects Tutorial
Hi there,
I am in love with rails... And now I want to rule Ajax effects with
rails. Where could I find a book like: Ajax on Rails? :)
Tutorials will be welcome too.
Thanks in advance.
Fernando Lujan
2006 Mar 19
1
Finding RDoc templates
Hi all,
I would like to change my RDoc template to something similar to the
RDocs on this site:
http://caboo.se/doc.html
Does any one know where this template (or similar) or other RDoc
templates are available? I tried googling for rdoc templates for a long
time and came up with nadda. Thanks in advance.
2006 Apr 04
6
Oracle Problem. Maybe driver
EVerything runs ok on my local machine but when i copy my app to our
solaris server everything is fine until i try updating/inserting
something into the DB.
This is the error message :
wrong number of arguments (1 for 0)
RAILS_ROOT: config/..
Application Trace | Framework Trace | Full Trace
2006 Mar 10
2
rake fails on build server, but not in development
I''m working in a development environment of Mac OS X with MySQL, and a
production deployment environment of Redhat with Oracle XE. In the
course of setting up a new continuous build server that more closely
mimics our production environment, I got stuck on the following
strangeness on the build server (Linux, Oracle).
1. rake fails
2. rake test_units works
3. rake test_functional
2006 Apr 11
6
Oracle unit test problem in Rails 1.1.2/Ruby-OCI 0.1.14
I''ve upgraded to Rails 1.1.2, and I''m trying to push this change through
to our build server (Linux/Oracle) and we are getting some errors in the
unit tests using Oracle. Looking at the data in the tests reveals a
precision problem. Looking at the tables tells the whole story.
My development database contains this table:
SQL> describe dls_grids;
Name
2006 Jan 10
1
Can <dl> be made sortable?
I was experimenting with using some interesting CSS styles with <dl>
<dt> and <dd> elements. But then I needed to be able to make this
list a sortable_element in Rails, and it did not work. I had to
convert it all to <ul> and <li>.
Is there a reason why sorting can''t work within definition lists? I
searched the list archive and found the
2008 May 23
12
Modules will no longer be automatically included in RSpec version 1.1.4
Can anyone (David?) shed some light on what exactly this warning is
complaining about? I started seeing it when I upgraded to Rails 2.1
RC1 and the latest RSpec from git.
I''m getting it in some helper specs that I''m writing. And yes, I am
including a module there, to reuse some utility methods I originally
wrote for my controller tests (I''m switching to specs
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.
2005 Aug 08
2
OCI8 extension for PHP
Hello,
I am wondering what do people use to connect to an oracle DB ?
I've been looking for something like php-oci8 RPM package, but no luck so far.
I hate to have to rebuilding PHP on my own just to be able to connect to an
Oracle database.
Thanks for any help
RDB
2007 Jan 08
2
before_create firing twice on a save - RC2
I have a unit test which fails using Rails 1.2RC2, because a method marked
by the before_create filter is firing twice when my ActiveRecord is saved.
Is a before_create filter supposed to cause multiple invocations? We have
assumed it is called once, and only once, when the object is created, in our
code (but we unit tested it to make certain).
This is one of three issues I have with my unit
2006 Jan 15
7
Include extra partial in layouts
Hi all,
Does anybody know how to include a partial (next to @content_for_layout) in a
layout file?
I''m looking for a something like @partial_for_include => ''filename'' in my
layout files. So a linked .rhtml file gets picked up from within a layout
file. All my layout files (4 at the moment) have a <div class="navright">
tag, so one change in the
2005 Jul 27
7
Oracle OCI8, or "am I going crazy?"
All of a sudden, on three different systems, the "server_ip_address/sid_name"
syntax in database.yml has stopped working for me.
I can''t even do a OCI8.new(blah blah blah) statement from an IRB shell.
I get "ORA-12541: TNS:no listener", or some variant, depending on how I phrase it.
On systems where I have a real deal client installed, and OCI can find the
tnsnames
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination?
The sequence of actions I perform to consistently get WEBrick to hang is:
1. start WEBrick
2. list a table form my Oracle 10g DB
3. startup sqlplus and update a few records in the table
4. go back to my browser and reload the table
Here none of the chances I made directly to the table are reflected
in the listing.
2008 May 25
3
Cruisecontroi footprint for a virtual machine installation
Does anyone have any feel for the requirements (disk space, memory, anything
else you can think of) of a virtual machine (say Centos Linux), set up as a
CruiseControl.rb build machine?
Regards, Lori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080525/60227d32/attachment.html>