diff options
author | Kir Shatrov <shatrov@me.com> | 2017-07-09 20:41:28 +0300 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2017-07-19 22:27:07 +0300 |
commit | 831be98f9a6685da3410b0c9bf4143bd8dd647af (patch) | |
tree | 986057c19536bc2aafab76ab12c00245b9289b73 /activerecord/examples | |
parent | 526d4b8dc816c17e354e2e0243af16d10147c3f0 (diff) | |
download | rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.tar.gz rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.tar.bz2 rails-831be98f9a6685da3410b0c9bf4143bd8dd647af.zip |
Use frozen-string-literal in ActiveRecord
Diffstat (limited to 'activerecord/examples')
-rw-r--r-- | activerecord/examples/performance.rb | 2 | ||||
-rw-r--r-- | activerecord/examples/simple.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/examples/performance.rb b/activerecord/examples/performance.rb index 3257dd4ad7..1a2c78f39b 100644 --- a/activerecord/examples/performance.rb +++ b/activerecord/examples/performance.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "active_record" require "benchmark/ips" diff --git a/activerecord/examples/simple.rb b/activerecord/examples/simple.rb index c3648fee48..280b786d73 100644 --- a/activerecord/examples/simple.rb +++ b/activerecord/examples/simple.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require "active_record" class Person < ActiveRecord::Base |