Sha256: 94045b73b44e0637536911153d51b544e43c2d4518e02361c76235a123ec28ee

Contents?: true

Size: 892 Bytes

Versions: 15

Compression:

Stored size: 892 Bytes

Contents

class <%= class_name %> < ActiveRecord::Base
  # Constants ======================================================================================
  SORTABLE_COLUMNS = ['id']

  # Scopes =========================================================================================

  # Relationships ==================================================================================

  # Behavior =======================================================================================

  # Callbacks ======================================================================================

  # Validations ====================================================================================

  # Class methods ==================================================================================

  # Instance methods ===============================================================================
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
scaffold_logic-2.0.0 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.9 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.8 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.7 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.6 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.5 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.4 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.3 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.2 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.1 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.7.0 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.6.3 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.6.2 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.6.1 lib/generators/scaffold_logic/scaffold/templates/model.rb
scaffold_logic-1.6.0 lib/generators/scaffold_logic/scaffold/templates/model.rb