We are in the middle of developing an application where we need to be
able to add and remove attributes to a model when it is running. We
have no problems removing the attribute with:
remove_column [table_name], [new_colum_name]
but session that are already have loaded the object fails on update,
because the attribute does not exits in the database.
Any one have any good idea on how to update the object already in
session with the new schema information?
A side note: I know it is normal to move information like this out into
its own table/model object, but because of performance issues we would
like to keep all information in one table.