class RacingOnRails::Version

Custom VestalVersion::Version that sets user

Public Instance Methods

set_user() click to toggle source
# File lib/racing_on_rails/version.rb, line 6
def set_user
  unless user.present?
    self.user = Person.current
  end
end