ActiveRecord で ReadOnly なテーブル用の Model を作る時用のモジュール。
Add this line to your application's Gemfile:
gem 'readonlyable', git: 'git://github.com/akishin/readonlyable.git'
And then execute:
$ bundle install --path vendor/bundle
class Posts < ActiveRecord::Base
include Readonlyable
MIT License