Sha256: 988e9f74769924c03cc414e651b759f6dfdfadc31e7e9e920255235da89b9f3f
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true # == Schema Information # # Table name: popular_languages # # id :integer not null, primary key # title_translations :hstore # country_code :string(2) # sort_order :integer default(1) # created_at :datetime not null # updated_at :datetime not null # class PopularLanguage < ActiveRecord::Base scope :sorted, -> { order("#{quoted_table_name}.sort_order") } default_scope -> { sorted } translates :title end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/models/popular_language.rb |