diff options
Diffstat (limited to 'lib/static_model.rb')
-rw-r--r-- | lib/static_model.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/static_model.rb b/lib/static_model.rb index 86bf8d62f9a..0734fceb0fc 100644 --- a/lib/static_model.rb +++ b/lib/static_model.rb @@ -7,7 +7,7 @@ module StaticModel class_methods do # Used by ActiveRecord's polymorphic association to set object_id def primary_key - 'id' + "id" end # Used by ActiveRecord's polymorphic association to set object_type |