<commit_before>class Backend::Cells::LastProductsCellsController < Backend::CellsController

  list(:model => :animals, :conditions => "born_at IS NOT NULL", :order => "born_at DESC", :per_page=>5) do |t|
    t.column :name, :url => {:controller => "/backend/animals"}
    t.column :mother, :url => {:controller => "/backend/animals"}
    t.column :father, :url => {:controller => "/backend/animals"}
    t.column :born_at
    t.column :sex
  end


  def show

  end

end<commit_msg>fix bug on last_product list in production dashboard.<commit_after>class Backend::Cells::LastProductsCellsController < Backend::CellsController

  list(model: :animals, conditions: ["#{Animal.table_name}.born_at IS NOT NULL"], order: {born_at: :desc}, per_page: 5) do |t|
    t.column :name, :url => {:controller => "/backend/animals"}
    t.column :mother, :url => {:controller => "/backend/animals"}
    t.column :father, :url => {:controller => "/backend/animals"}
    t.column :born_at
    t.column :sex
  end


  def show

  end

end
{'fraction_non_alphanumeric': 0.16454456415279137, 'fraction_numerical': 0.0019588638589618022, 'mean_word_length': 4.241025641025641, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '6271287', 'n_tokens_mistral': 350, 'n_tokens_neox': 317, 'n_words': 87}