XML 62 R68.htm IDEA: XBRL DOCUMENT
v2.4.1.9

COMMITMENTS (Details) (USD $) | 12 Months Ended
--- | ---
Jan. 31, 2015 | Jan. 31, 2014 | Jan. 31, 2013
COMMITMENTS (Details) [Line Items] |  |  |
Operating Leases, Future Minimum Payments Due | $ 1,137,000 us-gaap_OperatingLeasesFutureMinimumPaymentsDue |  |
Natural Gas Pipeline [Member] | One Earth Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Lease Expiration Period | 10 years |  |
Operating Leases, Future Minimum Payments Due | 4,380,000 us-gaap_OperatingLeasesFutureMinimumPaymentsDue / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_NaturalGasPipelineMember |  |
Number of installments payable | 120 rex_NumberOfInstalmentsPayable / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_NaturalGasPipelineMember |  |
Installment amount | 36,500 rex_InstallmentAmount / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_NaturalGasPipelineMember |  |
Operating Leases, Rent Expense, Net | 438,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_NaturalGasPipelineMember | 438,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_NaturalGasPipelineMember | 438,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_NaturalGasPipelineMember
Railcars One [Member] | One Earth Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Operating Leases, Rent Expense, Net | 2,572,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_RailcarsOneMember | 2,055,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_RailcarsOneMember | 1,723,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_RailcarsOneMember
Lease Expiration Date | May 31, 2022 |  |
Distillers Grains Marketing Services [Member] | One Earth Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Expiration Date of Grain Agreement | Jul. 01, 2015 |  |
Marketing Expense | 613,000 us-gaap_MarketingExpense / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_DistillersGrainsMarketingServicesMember | 640,000 us-gaap_MarketingExpense / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_DistillersGrainsMarketingServicesMember | 627,000 us-gaap_MarketingExpense / dei_LegalEntityAxis = rex_OneEarthEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_DistillersGrainsMarketingServicesMember
Distillers Grains Marketing Services [Member] | Nu Gen Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Expiration Date of Grain Agreement | Jul. 31, 2015 |  |
Marketing Expense | 577,000 us-gaap_MarketingExpense / dei_LegalEntityAxis = rex_NuGenEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_DistillersGrainsMarketingServicesMember | 838,000 us-gaap_MarketingExpense / dei_LegalEntityAxis = rex_NuGenEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_DistillersGrainsMarketingServicesMember | 833,000 us-gaap_MarketingExpense / dei_LegalEntityAxis = rex_NuGenEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_DistillersGrainsMarketingServicesMember
RailCars [Member] | Nu Gen Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Operating Leases, Rent Expense, Net | $ 4,452,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_NuGenEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_RailCarsMember | $ 4,350,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_NuGenEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_RailCarsMember | $ 2,714,000 us-gaap_OperatingLeasesRentExpenseNet / dei_LegalEntityAxis = rex_NuGenEnergyMember / us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis = rex_RailCarsMember
One Earth Energy And Nu Gen Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Quantity of Bushels under Forward Purchase Contract (in US Bushels) | 10,000,000 rex_QuantityOfBushelsUnderForwardPurchaseContract / dei_LegalEntityAxis = rex_OneEarthEnergyAndNuGenEnergyMember |  |
Quantity of Ethanol under Sales Commitment (in US Gallons) | 50,200,000 rex_QuantityOfEthanolUnderSalesCommitment / dei_LegalEntityAxis = rex_OneEarthEnergyAndNuGenEnergyMember |  |
Quantity of Distillers Grains Under Sales Commitment (in US Tons) | 126,000 rex_QuantityOfDistillersGrainsUnderSalesCommitment / dei_LegalEntityAxis = rex_OneEarthEnergyAndNuGenEnergyMember |  |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | 6,800,000 rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments / dei_LegalEntityAxis = rex_OneEarthEnergyAndNuGenEnergyMember |  |
One Earth Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Expiration Date of Grain Agreement | Oct. 31, 2015 |  |
Percentage of Grain Purchase Under Agreement | 100.00%rex_PercentageOfGrainPurchaseUnderAgreement / dei_LegalEntityAxis = rex_OneEarthEnergyMember | 100.00%rex_PercentageOfGrainPurchaseUnderAgreement / dei_LegalEntityAxis = rex_OneEarthEnergyMember | 100.00%rex_PercentageOfGrainPurchaseUnderAgreement / dei_LegalEntityAxis = rex_OneEarthEnergyMember
Maximum Period to Notify Other Party for Grain Agreement Period Extension | 180 months |  |

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

X
- Definition Expiration date of grain Agreement. + References No definition available. + Details
Name: | rex_ExpirationDateOfGrainAgreement
Namespace Prefix: | rex_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Lease expiration period. + References No definition available. + Details
Name: | rex_LeaseExpirationPeriod
Namespace Prefix: | rex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum period to notify other party for grain agreement period extension. + References No definition available. + Details
Name: | rex_MaximumPeriodToNotifyOtherPartyForGrainAgreementPeriodExtension
Namespace Prefix: | rex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of installments payable. + References No definition available. + Details
Name: | rex_NumberOfInstalmentsPayable
Namespace Prefix: | rex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of grain purchase under agreement. + References No definition available. + Details
Name: | rex_PercentageOfGrainPurchaseUnderAgreement
Namespace Prefix: | rex_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Quantity of bushels under forward purchase contract. + References No definition available. + Details
Name: | rex_QuantityOfBushelsUnderForwardPurchaseContract
Namespace Prefix: | rex_
Data Type: | num:volumeItemType
Balance Type: | na
Period Type: | instant

X
- Definition Quantity of distillers grains under sales commitment. + References No definition available. + Details
Name: | rex_QuantityOfDistillersGrainsUnderSalesCommitment
Namespace Prefix: | rex_
Data Type: | num:massItemType
Balance Type: | na
Period Type: | instant

X
- Definition Quantity of ethanol under sales commitment. + References No definition available. + Details
Name: | rex_QuantityOfEthanolUnderSalesCommitment
Namespace Prefix: | rex_
Data Type: | num:volumeItemType
Balance Type: | na
Period Type: | instant

X
- Definition No authoritative reference available. + References No definition available. + Details
Name: | rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments
Namespace Prefix: | rex_
Data Type: | num:massItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date which lease or group of leases is set to expire, in CCYY-MM-DD format. + References No definition available. + Details
Name: | us-gaap_LeaseExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services. Costs of public relations and corporate promotions are typically considered to be marketing costs. + 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.4) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_MarketingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 2 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41502-112717 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 10 -Section 55 -Paragraph 40 -Subparagraph (Note 3) -URI http://asc.fasb.org/extlink&oid=6584154&loc=d3e38371-112697 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Rental expense for the reporting period incurred under operating leases, including minimum and any contingent rent expense, net of related sublease income. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 840 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6453985&loc=d3e41499-112717 + Details
Name: | us-gaap_OperatingLeasesRentExpenseNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rex_OneEarthEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=rex_DistillersGrainsMarketingServicesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=rex_NaturalGasPipelineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=rex_RailCarsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=rex_RailcarsOneMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |