test/dummy/app/models/user.rb in csv_rails-0.6.1 vs test/dummy/app/models/user.rb in csv_rails-0.7.0

- old
+ new

@@ -1,7 +1,9 @@ class User < ActiveRecord::Base has_many :memberships has_many :groups, through: :memberships + validates :name, presence: :true + include CsvRails::Import def updated_at_as_csv self.updated_at.strftime("%F %H:%M") end