Created
October 8, 2016 11:41
-
-
Save zedtux/0059cbd26810fc594fea59c586018118 to your computer and use it in GitHub Desktop.
RightModule with renamed associations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RightModule | |
belongs_to :package, :class_name => ‘RightPacakge’ | |
had_many :function_groups, :class_name => ‘RightFunctionGroup’, :foreign_key => ‘right_module_id’ | |
… | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment