devworkstecnology/webadmin

View on GitHub
app/models/web_admin/institutional.rb

Summary

Maintainability
A
0 mins
Test Coverage
module WebAdmin
  class Institutional < ActiveRecord::Base
    include I18n::Alchemy

    validates :name, :body, presence: true

    def to_s
      name
    end
  end
end