Displaying 9 results from an estimated 9 matches for "howtouselegacyschema".
Did you mean:
howtouselegacyschemas
2006 Jan 11
2
Table prefix
Hi everybody,
is it possible to override standard RoR table nomination/pluralization
to include a suffix? I have some tables with usr_ prefix but i would use
"real" table name in model naming. For example i have table
usr_accesslogs; in normal use i should create a model called
UsrAccesslog instead Accesslog.
Is it possible to do this??
Thanx
Davide
2006 Apr 13
4
Rails with existing RDBMS schema
Hi,
I''m seriously considering using Rails to develop several internal
corporate web apps that will need to interact with well-established
database systems (3 systems running SQL Server, Oracle, and PostgreSQL).
The schema on these systems are basically set in stone. Can a Rails
application interact with an existing schema without serious Rails
modification? From what I''ve
2006 Mar 09
8
Problem with scaffolding and table name
Hello, i''m new in ruby rails framework. I have the following problem. I
try to create a scaffold
for a certain model of my db, but since ruby rails doesn''t assume the
table name corectly (its incidents_reported )
i get errors ....
Besides renaming the table :) is there a way to ''tell'' ruby rails the
name of the table?
I haven''t been able to find any
2008 Apr 09
6
Using Ruby on Rails with existing database
Hi, I''m a complete newbie to this, I''m afraid. Apologies if this has
been answered elsewhere, but I''ve had a look, and can''t find the
answers I''m looking for, especially for using Rails 2.0.
We have an existing database which we would need to connect Rails to,
and the database structure is not what Rails would seem to expect.
Firstly, tables are not
2006 Jul 03
2
moving data from legacy database
I have rewritten a java webapp into rails. The database structure is
basically the same except that:
1) in the legacy app, several of the tables did not use ID numbers,
but relied on other fields as the primary key
2) in the legacy app, there is a join table that uses email address
and category names to do the join, not ID numbers
I would like to move or change this database to match my new
2006 Jul 22
2
fetching records from tables
Dear all,
I have a doubt,
How to fetch records from tables, which are not having ID field as its
primary key.
If possible, please tell me to way to extract data from those tables.
--
with regds,
Nahalingam N. Kanakavel.
(http://www.nahalingam.bravehost.com/PlanetN/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 13
2
Legacy database with varchar2 primary key?
I rememeber seeing an article about how to cope with legacy databases
where the primary key is defined as VARCHAR2. I only want read-access
to the data.
Does anyone have a link to such an article? Or can give advice?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 07
6
Foreign Key naming convention override
I am working with an existing database and have to keep all table and
field names as they are. ''tblcustomers'' and ''tblitems'' are linked by the
''tblcustomers'' id field ''tblcustomersid''. In ''tblitems'', the foreign key
is called ''txtcustomerid''.
I have already set the customers model to
2006 Jan 20
4
Prepending table names on a per user or sub domain basis
Here is a sample of the database structure I want to have:
someclientname-websites
someclientname-canned_responses
someclientname-canned_responses_websites
anotherclientname-websites
anotherclientname-canned_responses
anotherclientname-canned_responses_websites
As you can see I want to prepend the name of my future clients to the
table name so that they use completely different sets of data.
I