search for: oraclecolumn

Displaying 4 results from an estimated 4 matches for "oraclecolumn".

2006 Apr 12
0
Re: Re: Oracle unit test problem in Rails 1.1.2/Ruby-OCI 0.1
...okey. I''ll see about posting an example. Thanks for > confirming. Looks to me like there''s actually two problems. First, although there''s a ''limit'' method, there''s no ''scale'' method for ActiveRecord::ConnectionAdapters::OracleColumn. Second, even if there was, it''s not being used in the schema dumper. So, it looks like we need to add ''attr_reader :scale'' to schema_definitions.rb (which is where class Column, the superclass of OracleColumn is defined) as well as add a line in schema_dumper.rb that p...
2009 Jan 09
2
Confused about to_xml() in ActiveRecord::Base subclass
Since all my efforts to control how to_xml() is formatting dates has failed, I''m now considering writing my own to_xml(). However, from the limited examples I''ve found, I just don''t understand how to actually reference the columns for the records in my record set. Here''s a simplified view of my ActiveRecord object: class Errors < ActiveRecord::Base
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
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