XML 12 R48.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Long Term Debt and Interest Rate Swaps (Details) (USD $) | 1 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Nov. 30, 2011 | Oct. 31, 2014 | Jan. 31, 2014
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Long-Term Debt Maturities Quarterly Principal Payment Due Ending Date |  | Jul. 08, 2016 |
Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries |  |  | $ 66,100,000
Derivative Liability |  |  | 1,141,000
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 |
Debt Instrument, Basis Spread on Variable Rate |  | 7.90% |
Derivative Liability |  |  | 1,100,000
Subsequent Event [Member] | One Earth Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Repayments of Debt |  | 14,000,000 |
Subsequent Event [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Repayments of Debt |  | 33,500,000 |
Term Loan [Member] | Minimum [Member] | One Earth Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Debt Instrument, Interest Rate, Effective Percentage |  | 3.20% |
Debt Instrument Maximum Payment Aggregate |  | 6,000,000 |
Term Loan [Member] | Maximum [Member] | One Earth Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Long-term Debt, Excess Cash Flow Principle Payments, Maximum |  | 18,000,000 |
Term Loan [Member] | One Earth Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Long term debt, quarterly principle payments |  | 2,000,000 |
Long-term Debt, Gross |  | 24,000,000 | 39,100,000
Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries |  | 109,400,000 | 86,900,000
Term Loan [Member] | Nu Gen Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Derivative Liability |  | 9,500,000 | 36,600,000
Proceeds from Bank Debt | 55,000,000 |  |
Debt Instrument Principal Payments As Percentage Of Annual Excess Cash Flows |  | 20.00% |
Revolving Credit Facility [Member] | One Earth Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | 10,000,000 |
Debt Instrument, Maturity Date |  | Jul. 31, 2015 |
Debt Instrument, Description of Variable Rate Basis |  | LIBOR plus 265 basis points |
Long-term Line of Credit |  | 0 | 0
Revolving Credit Facility [Member] | Nu Gen Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Proceeds from Bank Debt | 10,000,000 | 10,000,000 |
One Earth Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Debt Instrument Refinanced Amount |  | 44,101,000 |
Debt Instrument Refinanced Amount Interest Rate |  | LIBOR plus 300 basis points |
Long Term Debt Maturities Quarterly Principal Payment Due Beginning Date |  | Jan. 08, 2014 |
Accelerated Principal Payment |  | 10,000,000 |
Nu Gen Energy [Member] |  |  |
Long Term Debt and Interest Rate Swaps (Details) [Line Items] |  |  |
Debt Instrument Refinanced Amount Interest Rate |  | LIBOR plus 300 basis points |
Repayments of Debt |  | 9,500,000 |
Amount of Restricted Net Assets for Consolidated and Unconsolidated Subsidiaries |  | 103,400,000 |
Proceeds from Bank Debt | $ 65,000,000 |  |
Debt Instrument, Frequency of Periodic Payment |  | 20 quarterly payments |
Line of Credit Facility, Interest Rate Description |  | LIBOR plus 275 basis points |

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_AcceleratedPrincipalPayment
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Debt instrument maximum payment aggregate. + References No definition available. + Details
Name: | rex_DebtInstrumentMaximumPaymentAggregate
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt instrument principal payments as percentage of annual excess cash flows. + References No definition available. + Details
Name: | rex_DebtInstrumentPrincipalPaymentsAsPercentageOfAnnualExcessCashFlows
Namespace Prefix: | rex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt instrument refinanced amount. + References No definition available. + Details
Name: | rex_DebtInstrumentRefinancedAmount
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt instrument refinanced amount interest rate. + References No definition available. + Details
Name: | rex_DebtInstrumentRefinancedAmountInterestRate
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_LongTermDebtExcessCashFlowPrincipalPaymentsMaximum
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Long-term debt maturities quarterly principal payment due beginning date. + References No definition available. + Details
Name: | rex_LongTermDebtMaturitiesQuarterlyPrincipalPaymentDueBeginningDate
Namespace Prefix: | rex_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_LongTermDebtMaturitiesQuarterlyPrincipalPaymentDueEndingDate
Namespace Prefix: | rex_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_LongTermDebtQuarterlyPrinciplePayments
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of restricted net assets of consolidated and unconsolidated subsidiaries as of the end of the most recently completed fiscal year. + 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.(e)(3)(ii)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph e -Subparagraph 3 -Article 4 + Details
Name: | us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Amount of long-term debt before deduction of unamortized discount or premium. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt, with initial maturities beyond one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20 -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) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of the frequency of periodic payments (monthly, quarterly, annual). + References Reference 1: 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) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6479336&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentFrequencyOfPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 3: 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_DebtInstrumentInterestRateEffectivePercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + 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_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
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 carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the interest rate for the amounts borrowed under the credit facility, including the terms and the method for determining the interest rate (for example, fixed or variable, LIBOR plus a percentage, increasing rate, timing of interest rate resets, remarketing provisions). + References Reference 1: 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from bank borrowing during the year. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromBankDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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