At present, you can search by custom-generated fields:
query = @rt.search(:query => %('CF.{Category}' = "Problem"), :verbose => true)
Unfortunately, they aren't shown using ticket_show, and you can't create or update them either. http://requesttracker.wikia.com/wiki/REST says that they should be available during a ticket create.