XML 99 R51.htm IDEA: XBRL DOCUMENT
v2.4.0.8

INVESTMENTS AND DEPOSITS (Details) - Schedule of Financial information For Equity Method Investment (USD $) In Thousands, unless otherwise specified | 12 Months Ended | 10 Months Ended
--- | --- | ---
Dec. 31, 2013 Patriot [Member] | Dec. 31, 2012 Patriot [Member] | Dec. 31, 2011 Patriot [Member] | Dec. 31, 2013 Big River [Member] | Dec. 31, 2012 Big River [Member] | Dec. 31, 2011 Big River [Member] | Oct. 31, 2011 NuGen [Member]
INVESTMENTS AND DEPOSITS (Details) - Schedule of Financial information For Equity Method Investment [Line Items] |  |  |  |  |  |  |
Net sales and revenue | $ 377,532 | $ 365,302 | $ 377,250 | $ 1,292,120 | $ 1,135,956 | $ 1,162,308 | $ 256,973
Gross profit | 37,411 | 7,685 | 29,207 | 124,327 | 20,651 | 105,207 | 24,490
Income from continuing operations | 31,518 | 1,320 | 22,615 | 90,729 | 2,799 | 71,384 | 18,133
Net income | $ 31,518 | $ 1,320 | $ 22,615 | $ 90,729 | $ 2,799 | $ 71,384 | $ 18,133

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

X
- Definition The amount of gross profit (loss) reported by an equity method investment of the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of income (loss) from continuing operations before extraordinary items reported by an equity method investment of the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of net income (loss) reported by an equity method investment of the entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(g)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33918-111571 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6382943&loc=d3e33912-111571 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=6957238&loc=d3e14064-108612 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph bb -Article 1 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph g -Subparagraph 1, 2 -Article 4 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph w -Article 1 + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The amount of revenue from sale of goods and services reduced by sales returns, allowances, and discounts reported by an equity method investment of the entity. + References No definition available. + Details
Name: | us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration