Sha256: f69aed34d1af5523e0a3503fb54009340900b1139a58936f5719fe7a040ac843

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

require 'virtus'
# root module Faat
module Faat
  # Faat::Forms forms module
  module Forms
    # Faat::Forms::Base base forms class
    class Base
      # Your classes must inherited from this Base class
      # for removing all business logic from models classes,
      # and controllers

      include Virtus.model

      extend ActiveModel::Naming
      include ActiveModel::Conversion
      include ActiveModel::Validations
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
faat-0.1.7 lib/faat/forms/base.rb
faat-0.1.6 lib/faat/forms/base.rb
faat-0.1.5 lib/faat/forms/base.rb
faat-0.1.4 lib/faat/forms/base.rb