title: How to get all the associated models from ActiveRecord object?
body: <p>For example I have</p>
  
  <pre><code>class Order &lt; ActiveRecord::Base
    has_many :shippings
    has_one :contact_information
    belongs_to :shop
  end
  </code></pre>
  
  <p>How to get an array of associated objects from Order. For example </p>
  
  <pre><code>Order.associations
  # [:shipping, :contact_information, :shop]
  </code></pre>