Sha256: 3475faaaf1e7107744f509075d4a4785aa44819af68e2c40ffc4e203b2159fa9

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

module Yinx
  module SQL

    class Note < ActiveRecord::Base
      belongs_to :batch
      has_and_belongs_to_many :tags

      def stack_book
        st = stack.nil? ? '' : "#{stack}/"
        "#{st}#{book}"
      end

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yinx_sql-0.1.2 lib/yinx_sql/note.rb