Sha256: 37b1fd88b7a7cd9d8e46321e0cf8fccfb09448914124333e1c18b57a162398c0

Contents?: true

Size: 190 Bytes

Versions: 1

Compression:

Stored size: 190 Bytes

Contents

class Group < ActiveRecord::Base
  has_many :memberships
  has_many :users, through: :memberships
  include CsvRails::Import

  def created_at_as_csv
    created_at.strftime("%F")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csv_rails-0.7.0 test/dummy/app/models/group.rb