I have a residency of Ukraine and two valid passports. One is an old non-biometric, and the new one biometric. In a few months I have a flight from Ukraine to Germany and from Germany to Morocco with Ryanair. Both flights booked using my new passport data. I am allowed to enter Germany (and other Schengen countries) without visa using my new biometric passport (and so I will). However I need a visa for Morocco and let's assume I have it in my other passport. I assume there will be no problems with the border authorities, but what about Ryanair visa check before my Germany - Morocco flight? Is it ok to have a plane ticket booked using one passport and having my visa in another?
My question is rather will there be any problems on Ryanair visa check with two passports (one with the visa in it and another used for ticket booking), than just about travelling with two passports.