Sha256: c9869b0ea021187473da95c290ccfed6c9595d62e076c8e8310b2b29b8d5cac4
Contents?: true
Size: 616 Bytes
Versions: 13
Compression:
Stored size: 616 Bytes
Contents
class <%= name %> < ActiveRecord::Base attr_reader :per_page @per_page = 7 attr_writer :inline_forms_attribute_list <%= @belongs_to if @belongs_to.length > 1 -%> <%= @has_many if @has_many.length > 1 -%> <%= @has_one if @has_one.length > 1 -%> <%= @habtm if @habtm.length > 1 -%> <%= @has_attached_files if @has_attached_files.length > 1 -%> <%= @presentation if @presentation.length > 1 -%> <%= @inline_forms_attribute_list -%> <%= @order if @order.length > 1 -%> def self.not_accessible_through_html? <%= @flag_not_accessible_through_html %> end def self.order_by_clause "name" end end
Version data entries
13 entries across 13 versions & 1 rubygems