Core Data Query for RubyMotion