4 ms·
This simple class in Rails: class Assignment < ApplicationRecord belongs_to :project belongs_to :release accepts_nested_attributes_for :release
by TheRealDunkirk 5y ago
This simple class in Rails:
class Assignment < ApplicationRecord
belongs_to :project
belongs_to :release
accepts_nested_attributes_for :release, reject_if: :all_blank, allow_destroy: true
end
Would represent several hundred lines in Java and Angular.
Do you really need to see every line of code required to explain every object and how they relate to each other to the various compilers in your application?