Forum: Ruby on Rails legacy and MVC faq

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Thufir (Guest)
on 2007-06-10 01:44
(Received via mailing list)
What's meant by a "model Client"?  Is this an object?

One shot modifications are the kind of modification that you do model
per model or private key per private key.

For example, let's suppose that your legacy database use a table named
FooBar, and that you'd like to map the model Client onto this table.
By using the set_table_name class method you can define this:

2     class Client < ActiveRecord::Base
3       set_table_name "FooBar"
4     end

from the tutorial at <


This topic is locked and can not be replied to.