XML 43 R28.htm IDEA: XBRL DOCUMENT
v3.7.0.1

INVESTMENTS (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2017
Investments and Deposits [Abstract] |
Equity Method Investments [Table Text Block] | The following table summarizes the investment at January 31, 2017 and 2016 (amounts in thousands):
Entity |  | Ownership Percentage |  |  | Carrying Amount January 31, 2017 |  |  | Carrying Amount January 31, 2016 |
Big River Resources, LLC |  |  | 9.7% |  |  | $ | 37,833 |  |  | $ | 38,707 |
Condensed Balance Sheet [Table Text Block] | Summarized financial information for the Company’s equity method investee as of its fiscal year end is presented in the following table (amounts in thousands):
|  | Big River |
Current assets |  | $ | 175,299 |
Non current assets |  |  | 311,450 |
Total assets |  | $ | 486,749 |
Current liabilities |  | $ | 50,798 |
Long-term liabilities |  |  | — |
Total liabilities |  | $ | 50,798 |
Noncontrolling interests |  | $ | 52,336 |
|  | Big River |
Current assets |  | $ | 137,758 |
Non current assets |  |  | 341,907 |
Total assets |  | $ | 479,665 |
Current liabilities |  | $ | 49,224 |
Long-term liabilities |  |  | — |
Total liabilities |  | $ | 49,224 |
Noncontrolling interests |  | $ | 48,156 |
Schedule of Financial Information for Equity Method Investments [Table Text Block] | Summarized financial information for each of the Company’s equity method investees is presented in the following table for the years ended December 31, 2016, 2015 and 2014 (amounts in thousands):
|  | Big River |
Net sales and revenue |  | $ | 851,434 |
Gross profit |  | $ | 88,841 |
Income from continuing operations |  | $ | 63,292 |
Net income |  | $ | 63,292 |
|  | Patriot (1) |  |  | Big River |
Net sales and revenue |  | $ | 115,614 |  |  | $ | 863,554 |
Gross profit |  | $ | 14,424 |  |  | $ | 85,451 |
Income from continuing operations |  | $ | 11,100 |  |  | $ | 62,193 |
Net income |  | $ | 11,100 |  |  | $ | 62,193 |
|  | Patriot |  |  | Big River |
Net sales and revenue |  | $ | 331,260 |  |  | $ | 1,184,505 |
Gross profit |  | $ | 59,980 |  |  | $ | 241,963 |
Income from continuing operations |  | $ | 52,875 |  |  | $ | 187,388 |
Net income |  | $ | 52,875 |  |  | $ | 187,388 |

X
- References No definition available. + Details
Name: | rex_InvestmentsAndDepositsAbstract
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financial information for equity method investments. + References No definition available. + Details
Name: | rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock
Namespace Prefix: | rex_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=66011266&loc=d3e33918-111571 + Details
Name: | us-gaap_EquityMethodInvestmentsTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations. + References No definition available. + Details
Name: | us-gaap_ScheduleOfCondensedBalanceSheetTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration