Displaying 1 result from an estimated 1 matches for "fakeactiverecord".
2006 Jun 21
1
Plugin Panic! - no accessing a model''s class methods?
...ugh I cannot seem to find the
answer in the acts_as_versioned or any other plugin (since none create new
instances of their calling model class).
full plugin contents follow.
*whimper* help?
--
Matthew Beale :: 607 227 0871
Resume & Portfolio @ http://madhatted.com
# ActsAsCopyable
module FakeActiveRecord
module Acts #:nodoc:
module Copyable #:nodoc:
def self.append_features(base)
super
base.extend(MacroMethods)
end
# declare the class level helper methods which
# will load the relevant instance methods
# defined below when invoked
module M...