Sha256: 5e20882d41c9d025631f99de20b788fded42236d75c44ad779ef73db28a23b90

Contents?: true

Size: 130 Bytes

Versions: 3

Compression:

Stored size: 130 Bytes

Contents

class User < ActiveRecord::Base
  def updated_at_as_csv
    self.updated_at.strftime("%F %H:%M")
  end

  def one
    1
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv_rails-0.4.1 test/dummy/app/models/user.rb
csv_rails-0.4.0 test/dummy/app/models/user.rb
csv_rails-0.3.0 test/dummy/app/models/user.rb