<commit_before>=begin

1.) Create new model/migration for joining baskets
- Will belong to user
- Will belong to folder

2.) When a user clicks on join basket
- http request to create a new join_basket with
  - user_id
  - folder_id

3.) When a user has their baskets returned
  - user.folders.order('created_at ASC')
  - ADD!!!
  - user.join_folders.folders and push to @folders


=end

class JoinBasket < ActiveRecord::Base
  belongs_to :folder
  belongs_to :user

  # ADD AN OWNER FALSE HERE FOR THE LOOP
end<commit_msg>added a users attribute to join basket<commit_after>=begin

1.) Create new model/migration for joining baskets
- Will belong to user
- Will belong to folder

2.) When a user clicks on join basket
- http request to create a new join_basket with
  - user_id
  - folder_id

3.) When a user has their baskets returned
  - user.folders.order('created_at ASC')
  - ADD!!!
  - user.join_folders.folders and push to @folders


=end

class JoinBasket < ActiveRecord::Base
  belongs_to :folder
  belongs_to :user
end
{'fraction_non_alphanumeric': 0.0728862973760933, 'fraction_numerical': 0.0058309037900874635, 'mean_word_length': 3.577777777777778, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7556062', 'n_tokens_mistral': 337, 'n_tokens_neox': 327, 'n_words': 131}