class Rails::Generators::ActiveModel

def update_attributes(params=nil)

PUT update
def update_attributes(params=nil)
  "#{name}.update_attributes(#{params})"
end