lib/model_log.rb in model_log-1.0.0 vs lib/model_log.rb in model_log-1.0.1

- old
+ new

@@ -8,10 +8,10 @@ class << self attr_accessor :platform, :current_user_method, :user_name_field def info(content) content = content.chomp + "\n" - File.open("log/model_log_#{Rails.env}.log", "a+") do |output| + File.open("#{Rails.root.to_s}/log/model_log_#{Rails.env}.log", "a+") do |output| output.write(content) end end end