Displaying 3 results from an estimated 3 matches for "cfg_dn".
2006 Jan 27
5
Newbie:Adding a new Table-Strange Error
...em. Then I realized that
one of the fields in a table was referring to another table in the
database. For example if I had a DN (Directory Number) in the table,
that three digit DN was referring to another table being an actual DN.
So I decided to add that table. The actual name of the table is cfg_dn
(Legacy) with the following assignments I created the model/controller
and view
*/ruby script/generate scaffold cfg_dn cfg_dn
/*Again, up untill now everything that I wanted to do with the database
was working properly. I went ahead and typed the following to my browser
to see if I am hitting...
2006 Jan 30
9
error when adding a new table to the existing application
...that one of the fields in a table was referring to another table in
> the database. For example if I had a DN (Directory Number) in the
> table, that three digit DN was referring to another table being an
> actual DN. So I decided to add that table. The actual name of the
> table is cfg_dn (Legacy) with the following assignments I created the
> model/controller and view
>
> */ruby script/generate scaffold cfg_dn cfg_dn
>
> /*Again, up untill now everything that I wanted to do with the
> database was working properly. I went ahead and typed the following to
> m...
2006 Jun 14
0
Mssql Multiple Database Access Error
...vider=SQLOLEDB;Data Source=satchel;Initial
Catalog=GME_CONFIG;User ID=genesys;Password=****
username: genesys
password: ****
The GME_CONFIG is the second database that I am trying to connect to.
Also, the model for that looks like this:
class CfgDn<ActiveRecord::Base
set_table_name "cfg_dn"
set_primary_key "dbid"
has_many :gcdrs,
:class_name => "Gcdr",
:foreign_key => "dn"
has_many :scdrs,
:class_name => "Scdr",
:foreign_key => "locdn"
has_many :evrefs,
:class_name => "Evref",
:foreign_key => &q...