Displaying 3 results from an estimated 3 matches for "ocicolumn".
2006 Mar 10
14
Oracle Date type errors rails on edit
I have a table with "expires_on" a DATE field.
"Show" and "Destroy" work, but "Edit" errors:
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:150:in
`select_hour''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/date_helper.rb:149:in
`select_hour''
It only happens when
2006 Jan 11
8
Oracle and Rails seems really slow.... In development
I''m just looking into how to connect to Oracle using Rails. I''ve got
everything connecting and working as it should.
I have a Users table in Oracle:
create_table "users", :force => true do |t|
t.column "username", :string
t.column "created_on", :datetime
t.column "email", :string
t.column "note", :text
2006 Mar 23
11
ActiveRecord: Oracle metadata loading slow on large database
...t_all(table_cols, name).map do |row|
length =row[''data_length''] unless row[''data_precision'']
row[''data_default''].sub!(/^''(.*)''\s*$/, ''\1'') if
row[''data_default'']
OCIColumn.new(
oci_downcase(row[''column_name'']),
row[''data_default''],
row[''data_type''],
length,
row[''scale''],
row[''nullable''] == '&...