Sha256: d63b310d7a0475a8c3a09360d8ac8a46f2536e193e62d079b7941dd86897e0e6
Contents?: true
Size: 699 Bytes
Versions: 61
Compression:
Stored size: 699 Bytes
Contents
class <%= name %> < ActiveRecord::Base attr_reader :per_page @per_page = 7 attr_writer :inline_forms_attribute_list has_paper_trail <%= @carrierwave_mounters if @carrierwave_mounters.length > 1 -%> <%= @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
61 entries across 61 versions & 1 rubygems