Flowdock
method

order_tables

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::ClassMethods
order_tables(options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations.rb, line 1741
        def order_tables(options)
          order = [options[:order], scope(:find, :order) ].join(", ")
          return [] unless order && order.is_a?(String)
          order.scan(/([\.a-zA-Z_]+).?\./).flatten
        end
Register or log in to add new notes.