XML 39 R62.htm IDEA: XBRL DOCUMENT
v2.4.1.9

LONG-TERM DEBT AND INTEREST RATE SWAPS (Details) (USD $) | 12 Months Ended | 24 Months Ended |
--- | --- | --- | ---
Jan. 31, 2015 | Jan. 31, 2015 | Jan. 31, 2014
LONG-TERM DEBT AND INTEREST RATE SWAPS (Details) [Line Items] |  |  |
Debt Instrument, Interest Rate, Stated Percentage Rate Range, Minimum |  | 3.15%us-gaap_DebtInstrumentInterestRateStatedPercentageRateRangeMinimum |
Debt Instrument, Interest Rate, Stated Percentage Rate Range, Maximum |  | 4.00%us-gaap_DebtInstrumentInterestRateStatedPercentageRateRangeMaximum |
Repayments of Debt | $ 75,700,000 us-gaap_RepaymentsOfDebt |  |
Long-term Debt, Fair Value |  |  | 75,100,000 us-gaap_LongTermDebtFairValue
Derivative Liability, Notional Amount |  |  | 33,400,000 us-gaap_DerivativeLiabilityNotionalAmount
Derivative Liability |  |  | 1,141,000 us-gaap_DerivativeLiabilities
Interest Rate Swap One [Member] | One Earth Energy [Member] |  |  |
LONG-TERM DEBT AND INTEREST RATE SWAPS (Details) [Line Items] |  |  |
Derivative Liability, Notional Amount | 50,000,000 us-gaap_DerivativeLiabilityNotionalAmount / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = rex_InterestRateSwapOneMember | 50,000,000 us-gaap_DerivativeLiabilityNotionalAmount / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = rex_InterestRateSwapOneMember |
Swap Termination Date | July 8, 2014 |  |
Debt Instrument, Basis Spread on Variable Rate | 7.90%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = rex_InterestRateSwapOneMember |  |
Interest Rate Swap Two [Member] | One Earth Energy [Member] |  |  |
LONG-TERM DEBT AND INTEREST RATE SWAPS (Details) [Line Items] |  |  |
Derivative Liability, Notional Amount | 25,000,000 us-gaap_DerivativeLiabilityNotionalAmount / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = rex_InterestRateSwapTwoMember | 25,000,000 us-gaap_DerivativeLiabilityNotionalAmount / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = rex_InterestRateSwapTwoMember |
Swap Termination Date | July 31, 2011 |  |
Debt Instrument, Basis Spread on Variable Rate | 5.49%us-gaap_DebtInstrumentBasisSpreadOnVariableRate1 / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = rex_InterestRateSwapTwoMember |  |
Interest Rate Swap [Member] | One Earth Energy [Member] |  |  |
LONG-TERM DEBT AND INTEREST RATE SWAPS (Details) [Line Items] |  |  |
Derivative Liability |  |  | 1,100,000 us-gaap_DerivativeLiabilities / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_InterestRateSwapMember
Interest Rate Swap [Member] |  |  |
LONG-TERM DEBT AND INTEREST RATE SWAPS (Details) [Line Items] |  |  |
Derivative Liability, Notional Amount |  |  | 33,444,000 us-gaap_DerivativeLiabilityNotionalAmount / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_InterestRateSwapMember
Derivative Liability |  |  | $ 1,141,000 us-gaap_DerivativeLiabilities / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = us-gaap_InterestRateSwapMember

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

X
- Definition Swap termination date. + References No definition available. + Details
Name: | rex_SwapTerminationDate
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentageRateRangeMaximum
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentageRateRangeMinimum
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=35750535&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41228-113958 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=35750535&loc=d3e13495-108611 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=34720828&loc=SL20225862-175312 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 45 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=6945355&loc=d3e41271-113958 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 20 -Section 55 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=36459792&loc=SL20226008-175313 + Details
Name: | us-gaap_DerivativeLiabilities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Nominal or face amount used to calculate payments on the derivative liability. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1B -URI http://asc.fasb.org/extlink&oid=35706170&loc=SL5580258-113959 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 1A -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=35706170&loc=SL5579245-113959 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Notional Amount -URI http://asc.fasb.org/extlink&oid=6519104 + Details
Name: | us-gaap_DerivativeLiabilityNotionalAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References No definition available. + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References No definition available. + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=rex_InterestRateSwapOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=rex_InterestRateSwapTwoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |