RE: [Rails] read-only access to the database

Here's what I've do:

class Foo < ActiveRecord::Base
   def write_attribute(name, value)
      raise NotImplementedError, 'read only table'

This approach won't even allow you to assign values to a Foo instance.
If you want to defer until the moment a user tries to *save* a record,
then redefine 'save' and 'save!' instead.



This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.