Das hier schon gesehen:

http://blog.evanweaver.com/articles/2006/12/26/hacking-activerecords-automatic-timestamps/

?

def do_sth_without_ts
  class << self
    def record_timestamps; false; end
  end
  do_sth...
  class << self
    remove_method :record_timestamps
  end
end

Kommt mir allerdings ziemlich hackig vor…


Niko.
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an