Sha256: 74dabb21c8750fbcc6e731be20da10a25ae1924fa762ed2c7199950595d4b392

Contents?: true

Size: 583 Bytes

Versions: 15

Compression:

Stored size: 583 Bytes

Contents

# Developer notes

## Explicitly requiring cross-domain dependencies

Currently there's very little automatic resolution of dependencies. So, let's say you have

    class ElectricMarket
      belongs_to :state
    end

You will need to require *locality* in 2 places:

    # lib/earth/electricity/electric_market.rb
    require 'earth/locality'

    # lib/earth/electricity/electric_market/data_miner.rb
    require 'earth/locality/data_miner'

If you don't, `State`'s data miner script will be empty when it is called by `ElectricMarket.run_data_miner_on_belongs_to_associations!`

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
earth-1.2.1 DEVELOPERS.markdown
earth-1.1.2 DEVELOPERS.markdown
earth-1.1.1 DEVELOPERS.markdown
earth-1.1.0 DEVELOPERS.markdown
earth-1.0.3 DEVELOPERS.markdown
earth-1.0.2 DEVELOPERS.markdown
earth-1.0.1 DEVELOPERS.markdown
earth-1.0.0 DEVELOPERS.markdown
earth-0.12.4 DEVELOPERS.markdown
earth-0.12.3 DEVELOPERS.markdown
earth-0.12.2 DEVELOPERS.markdown
earth-0.12.1 DEVELOPERS.markdown
earth-0.12.0 DEVELOPERS.markdown
earth-0.11.20 DEVELOPERS.markdown
earth-0.11.19 DEVELOPERS.markdown