Sha256: 5277661a513a8f5d73723bd67c26cc2443cf2354135cee0d0963c8756b9c0b5f

Contents?: true

Size: 167 Bytes

Versions: 4

Compression:

Stored size: 167 Bytes

Contents

class Thing < ActiveRecord::Base
  translates :name
  globalize_accessors
  validates :name, 'citizen_budget_model/locale' => true

  def ping
    _('pong')
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 spec/dummy/app/models/thing.rb
citizen_budget_model-0.0.3 spec/dummy/app/models/thing.rb
citizen_budget_model-0.0.2 spec/dummy/app/models/thing.rb
citizen_budget_model-0.0.1 spec/dummy/app/models/thing.rb