I just started trying out akelos and got a first test application
running. I created a database table using migrations linke this:
function up_1() {
$this->createTable('addresses', "id, gender string(1) default ' ',
firstname(100), lastname(100), pos(100), telephone(30), mobile(30),
fax(30), email(100), newsletter boolean, faxletter boolean, password,
created_at, updated_at");
}
Then I uninstalled the migration, changed some field names and re-
installed it. Now my controller is still looking for the old fields
with the old names.
How can I tell akelos/ActiveRecord to reload the table structure?
I think in rails, changing the models requires a server restart to
make ActiveRecord reload the table descriptions. I already restarted
my apache, but with no success. Any hints?
Cheers,
Tom
I you are on a "development" environment schema cache is cleared on
every request, no need to restart.
Regards,
Bermi