Displaying 20 results from an estimated 100 matches similar to: "ActiveRecord 2.1 Migration support"
2006 Jan 09
3
rails ignoring the migration file
I have a mysql database that I am trying to use migrations on. The
problem that I am having is that when I create a blob field in my
migration file like so:
t.column "data", :binary, :limit => 15.megabytes, :null => false
rails changes it to this in the schema:
t.column "data", :binary, :default => "", :null => false
not only is this not what I wanted
2011 Feb 10
1
rjdbc identifier.quote
Dear all
Backend is Ingres DBMS
I use RJDBC with Ingres JDBC driver
I have this csv file
"","Strategy","par1","m.1997.09.01"
"1","ALF",2,0.1244
which I try to load it RJDBC
require (RJDBC)
drv <- JDBC("com.ingres.jdbc.IngresDriver","/home/ingres/ingresv1/ingres/lib/iijdbc.jar")
conn <- dbConnect(drv,
2001 Nov 18
7
Shaping incoming traffic?
I would like to differentiate incoming traffic streams to guarantee
minimum bandwidth to some services. However, as per the
Adv-Routing-HOWTO it appears that only outgoing traffic can be shaped.
Is this correct or is there a way of shaping incoming traffic?
The problem could possibly be overcome if there is a way of routing
traffic through a virtual host. Any tips on how to go about that?
--
2006 Jan 01
11
Migration db_schema_import always fails.
I have not been able to get DB migrations to work at all in Rails 1.0
for me. On multiple platforms I continually get the same errors. It
took me awhile to figure out some initial things, such as Migrations
don''t seem to support Enum column types, and doesn''t really support
Foreign key relationships (the constraints at least). After changing
my DB schema to jive more with the
2003 Oct 08
1
Samba 3.0.0: option admin user not working in smb.conf?
Hello List!
I successfully installed, configured and joined Samba 3.0.0 on Solaris
9 to Windows 2000 Active Directory.
I tried to set the option admin user in smb.conf to user (ingres).
After doing so the user isn't able to connect or browse to the Samba
server anymore. Without this option the user just connects fine and is
able to browse the Samba server. The goal is to have the user
2006 Mar 04
1
active migration gives undefined_method ''string_to_binary''
has anyone ever seen that:
c:\rails\test>rake migrate --trace
(in c:/rails/test)
** Invoke migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute migrate
rake aborted!
undefined method `string_to_binary'' for
ActiveRecord::ConnectionAdapters::ColumnDefinition:Class
2006 Apr 22
1
Rails db adapter problem - "-- statement #0"
Hi all,
I''m working on a database adapter for the Ingres database and I''m having
a problem with the Rails tests.
The first SQL statement from each of the four SQL files (ingres.sql,
etc), is sent to the database with this line first: -- statement #0 and
extra blank lines.
So the database is getting "sql" that looks like this:
"
-- statement #0
DROP TABLE
2010 Feb 18
3
NFS client firewall config?
Hi all,
Which ports do I need to have open on an NFS client's firewall to allow it
to connect to a remote NFS servers?
When I disable iptables (using ConfigServerFirewall), it connects fine, but
as soon as I enable it, NFS gives me this error:
root at saturn:[~]$ mount master1.mydomain.co.za:/saturn /bck
mount: mount to NFS server 'master1.mydomain.co.za' failed: RPC Error:
Unable to
2005 Jan 27
3
negative tokens
I have this:
class htb 1:29 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
Sent 33233 bytes 772 pkts (dropped 0, overlimits 0)
lended: 415 borrowed: 357 giants: 0
tokens: -3756376 ctokens: 128779
or this:
class htb 1:21 parent 1:1 prio 0 rate 3000bit ceil 100000bit burst
1599b cburst 1611b
Sent 57554 bytes 618 pkts (dropped 0, overlimits 0)
lended: 193 borrowed: 425
2002 Mar 21
2
How does ingres work ?
What happens if I mark only some type of traffic for beeing shaped ?
Is it put on a separate queue, so the traffinc not marked has some
priority ??
--
__o
_ \<_
(_)/(_)
Saludos de Julián
EA4ACL
-.-
Foro Wireless Madrid
http://opennetworks.rg3.net
2004 Oct 12
6
Classful Queuing
OK, I''m stumped. I''ve read through most of the LARTC HOWTO and have yet
to find a basis for what I need to accomplish.
I have a Linux box that controls access to and from the Internet at my
workplace. We have a number of remote employees that connect via PPTP
and IPSEC to the office''s internal network. Some of these remote
employees are currently using SIP phones.
2006 Oct 15
1
Authenticating dovecot against Active Directory using bsdauth and login_ldap
All,
I'm working in a multi-platform environment where user accounts are
already held in Active Directory. I'm been trying to setup dovecot to
perform user authentication against Active Directory using ldap.
My Environment is:
Platform OpenBSD 3.9
Dovecot Version 1.0.rc7
Active Directory Windows 2003
The approach I've taken (being the only one I was able to
2004 Jan 03
1
SEEKING PART-TIME DBA ROLE (REMOTE)
I HAVE 10 Years EXPERIENCE WITH
*ORACLE 7.x 8.x, and 9x DATABASE Administration
*ORACLE 9iAS Support
*11i/10.7 ERP/CRM Installation and Support
*SOLARIS SYSTEM ADMIN
*3rd PARTY IMPLEMENTIONS
* DATAWAREHOUSING Support
*SOFTWARE AND HARDWARE CAPACITY PLANNING
*Oracle DATABASE MANAGEMENT
*Oracle DATABASE AND APPLICATION TUNING
Spent many years at Oracle Corp, and worked with client such as Kodak,
2003 Mar 20
9
Routing/forwarding/shaping problems in v2.2.x (Long - sorry)
Greetings from a newbie!
(Well, to this list anyway)
I''m having a problem and I hope someone here might be able to help...
I am strongly expecting an answer along the lines of "upgrade to v2.4.x", but
I would REALLY preffer to avoid that for now...
The setup:
"Home brewed" v2.2.24 (will patch to v2.2.25 later today) with the DS8 patch
applied. Currently
2006 Jan 07
2
Sharing a DSL between 40 subnets with htb
I have a network with around 40 /24 subnets that shares a common DSL,
this cries out for shaping so here I am trying to make it work as my
first tc project.
I have managed to cargocult some snippets from this list and tried to
come up with a config, but there are a few things that I''d really like
some input on:
1) Are the NAT''ed addresses available in the PREROUTING table
2013 Feb 04
10
duda con lmer. Añadir predictor a nivel de grupos
Hola a todos.
Estoy utilizando la función lmer del paquete lme4 para ajustar un modelo
mixto.
Tengo varias variables en mi data.frame, unas son a nivel individual y
otras a nivel de comarcas. Listo algunas.
ingre_6 : Ingresos (nivel individual)
iscs_a : un indicador sintético resumen de otras variables, calculado
mediante componentes principales.
sau_com : superficie agraria útil de cada una
2010 Jun 10
0
Using the Ingres SQL database with R
Dear R Forum members,
I am wondering of anyone has used R to pull data from an Ingres SQL database?
My initial thoughts would be to use the RJDBC package and Ingres's JDBC driver.
Before I get this thing together, has anyone used this combination and can
verify that it works, or can forewarn me of any "gotchas" that may be
lurking in the shadows? One uncomfortable feature with
2006 Apr 12
0
Ingres
Do you guys know if anyone is working in Ingres adapter for Rails?
thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060412/ed717cd6/attachment.html
2009 Sep 28
5
Multi-databases support
Hi,
While I was hacking ovirt-server, I have found that it's currently
restricted to Postgres DB. Even if I like postgres for serious work on a
server, I really prefer to hack/dev locally on a Sqlite or MySQL DB.
I have googled on rails in order to find a good answer for the "foreign
key problem" which forces OVirt to stay on pg. I have found a plugin on
this particular
2008 Mar 19
2
ActiveRecord bug? ActiveRecord::ConnectionAdapters::Column.type_cast for float columns
Hi all,
I just noticed that in ActiveRecord::ConnectionAdapters::Column.type_cast[1]
(and type_cast_code[2]) the type casting for float columns simply does
value.to_f, whereas all the others have a rescue or call out to a method,
the default implementations of which have rescues or enough logic in that I
don''t think they''d fail.
Imagine the following:
create_table :vehicle do