```ruby
class Game < ActiveRecord::Base
  has_many :clues
  belongs_to :user
  has_and_belongs_to_many :rounds


  # takes in an array of clues
  # if there are less than 25 clues
  def generate_board(clues)
    clues.shuffle!
    if clues.length == 25
      return clues
    else
      if clues.length > 25
        return clues[0...25]
      else
        remaining = 25 % clues.length
        if remaining == 0
          generate_board(clues * 25.div(clues.length))
        else
          generate_board(clues + clues[0...remaining])
        end
      end
    end
  end
end
```

Add board_size to the parameters for generate_baord
user
```ruby
class Game < ActiveRecord::Base
  has_many :clues
  belongs_to :user
  has_and_belongs_to_many :rounds


  # takes in an array of clues
  # if there are less than 25 clues
  def generate_board(board_size, clues)
    clues.shuffle!
    if clues.length == board_size
      return clues
    else
      if clues.length > board_size
        return clues[0...board_size]
      else
        remaining = board_size % clues.length
        if remaining == 0
          generate_board(board_size, clues * board_size.div(clues.length))
        else
          generate_board(board_size, clues + clues[0...remaining])
        end
      end
    end
  end
end
```
assistant