"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "activerecord/test/models/developer.rb" between
rails-6.1.3.2.tar.gz and rails-6.1.4.tar.gz

About: Ruby on Rails is a web application development framework (written in Ruby).

developer.rb  (rails-6.1.3.2):developer.rb  (rails-6.1.4)
skipping to change at line 35 skipping to change at line 35
self.ignored_columns = %w(first_name last_name) self.ignored_columns = %w(first_name last_name)
has_and_belongs_to_many :projects do has_and_belongs_to_many :projects do
def find_most_recent def find_most_recent
order("id DESC").first order("id DESC").first
end end
end end
belongs_to :mentor belongs_to :mentor
belongs_to :strict_loading_mentor, strict_loading: true, foreign_key: :mentor_ id, class_name: "Mentor" belongs_to :strict_loading_mentor, strict_loading: true, foreign_key: :mentor_ id, class_name: "Mentor"
belongs_to :strict_loading_off_mentor, strict_loading: false, foreign_key: :me ntor_id, class_name: "Mentor"
accepts_nested_attributes_for :projects accepts_nested_attributes_for :projects
has_and_belongs_to_many :shared_computers, class_name: "Computer" has_and_belongs_to_many :shared_computers, class_name: "Computer"
has_and_belongs_to_many :projects_extended_by_name, has_and_belongs_to_many :projects_extended_by_name,
-> { extending(ProjectsAssociationExtension) }, -> { extending(ProjectsAssociationExtension) },
class_name: "Project", class_name: "Project",
join_table: "developers_projects", join_table: "developers_projects",
association_foreign_key: "project_id" association_foreign_key: "project_id"
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)