XML 105 R88.htm IDEA: XBRL DOCUMENT
v2.4.0.8

RELATED PARTIES (Details) (One Earth Energy [Member], USD $) In Millions, unless otherwise specified | 12 Months Ended
--- | ---
Jan. 31, 2014 | Jan. 31, 2013
One Earth Energy [Member] |  |
RELATED PARTIES (Details) [Line Items] |  |
Related Party Transaction, Purchases from Related Party | $ 262.4 | $ 275.8

X
- Details
Name: | rex_RELATEDPARTIESDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration