8312a0d222
The idea of `class_name` as an option of reflection is that passing a string would allow us to lazy autoload the class. Using `belongs_to :client, class_name: Customer` is eagerloading models more than necessary and creating possible circular dependencies. |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |