XML 19 R78.htm IDEA: XBRL DOCUMENT
v2.4.1.9

RELATED PARTIES (Details) (One Earth Energy And Nu Gen Energy [Member], USD $) In Millions, unless otherwise specified | 12 Months Ended
--- | ---
Jan. 31, 2015 | Jan. 31, 2014
One Earth Energy And Nu Gen Energy [Member] |  |
RELATED PARTIES (Details) [Line Items] |  |
Related Party Transaction, Purchases from Related Party | $ 164.7 us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty / dei_LegalEntityAxis = rex_OneEarthEnergyAndNuGenEnergyMember | $ 262.4 us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty / dei_LegalEntityAxis = rex_OneEarthEnergyAndNuGenEnergyMember

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