XML 66 R64.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Related-Party Transactions (Details) (One Earth Energy [Member], USD $) In Millions, unless otherwise specified | 3 Months Ended | 9 Months Ended
--- | --- | ---
Oct. 31, 2014 | Oct. 31, 2013 | Oct. 31, 2014 | Oct. 31, 2013
One Earth Energy [Member] |  |  |  |
Related-Party Transactions (Details) [Line Items] |  |  |  |
Costs and Expenses, Related Party | $ 38.9 | $ 57.6 | $ 124.1 | $ 208.0

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

X
- Definition Costs of sales and operating expenses for the period incurred from transactions with related parties. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.2) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_CostsAndExpensesRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration