Module: Padrino::Contrib::Orm::ActiveRecord::Permalink
- Defined in:
- lib/padrino-contrib/orm/active_record/permalink.rb
Overview
This module extend ActiveRecord.
You need to to your model a column called :permalink
then use +has_permalink :title like:
class Page < ActiveRecord::Base
has_permalink :page
end
Defined Under Namespace
Modules: ClassMethods, InstanceMethods