Displaying 1 result from an estimated 1 matches for "new_ar_object".
2006 Jun 05
0
Plugin Namespace Oddities?
Hi all,
I''m trying to throw together an acts_as_copyable, to add the ability to:
@new_ar_object = @ar_object.copy
I''m using the Fox example for the basic loading into AR with a module:
http://wiki.rubyonrails.org/rails/pages/HowToWriteAnActsAsFoxPlugin
so in my instance methods:
module InstanceMethods
def copy( options = {} )
copyable_attributes = self.a...