Just been burned by this, as a Friday puzzle tomorrow, see if you can work
out what's wrong:

  alias old_to_xml to_xml

  def to_xml(options = {})
    (options[:except] ||= []) << :company_id << :client_id << :id
    (options[:include] ||= []) << :address
    (options[:methods] ||= []) << :company_name
    old_to_xml(options)
  end

:)

Don't spoil it, tell us on Monday

F

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to