XML 11 R54.htm IDEA: XBRL DOCUMENT v2.4.1.9
Related-Party Transactions (Details) (One Earth Energy [Member], USD $)
In Millions, unless otherwise specified
3 Months Ended
Apr. 30, 2015
Apr. 30, 2014
One Earth Energy [Member]
   
Related-Party Transactions (Details) [Line Items]    
Costs and Expenses, Related Party $ 38.1us-gaap_CostsAndExpensesRelatedParty
/ dei_LegalEntityAxis
= rex_OneEarthEnergyMember
$ 44.8us-gaap_CostsAndExpensesRelatedParty
/ dei_LegalEntityAxis
= rex_OneEarthEnergyMember