XML 63 R41.htm IDEA: XBRL DOCUMENT
v2.4.0.8

Fair Value (Details) (USD $) | 6 Months Ended |  | 6 Months Ended
--- | --- | --- | ---
Jul. 31, 2013 | Jan. 31, 2013 | Jul. 31, 2012 Investment in Cooperative [Member]
Fair Value (Details) [Line Items] |  |  |
Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Period Increase (Decrease) | $ 10,000 |  | $ 0
Number of Fair Value Assets Measured on Nonrecurring Basis | 0 |  |
Debt Instrument, Fair Value Disclosure | $ 98,300,000 | $ 107,000,000 |

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

X
- Definition Number of fair value assets measured on nonrecurring basis. + References No definition available. + Details
Name: | rex_NumberOfFairValueAssetsMeasuredOnNonrecurringBasis
Namespace Prefix: | rex_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable. + 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=28364263&loc=d3e13433-108611 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 12 -URI http://asc.fasb.org/extlink&oid=28364263&loc=d3e13476-108611 + Details
Name: | us-gaap_DebtInstrumentFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=25499696&loc=d3e19207-110258 + Details
Name: | us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration