diff options
| author | Zog | 2018-04-05 09:31:37 +0200 |
|---|---|---|
| committer | Zog | 2018-04-05 09:31:37 +0200 |
| commit | fc55bc7338cf022cf59b446f0a812769d43d70a9 (patch) | |
| tree | f30ef38e330165b224169acbea1260ef07ac3104 | |
| parent | 461e1b085e745e819e95649bf3509ca6055ce827 (diff) | |
| download | chouette-core-fc55bc7338cf022cf59b446f0a812769d43d70a9.tar.bz2 | |
Fix possible bug in CustomField support
| -rw-r--r-- | app/models/concerns/custom_fields_support.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/custom_fields_support.rb b/app/models/concerns/custom_fields_support.rb index ef6b4f4af..017f496a8 100644 --- a/app/models/concerns/custom_fields_support.rb +++ b/app/models/concerns/custom_fields_support.rb @@ -12,7 +12,7 @@ module CustomFieldsSupport end def method_missing method_name, *args - if method_name =~ /custom_field_*/ && !@custom_fields_initialized + if method_name =~ /custom_field_*/ && method_name.to_sym != :custom_field_values && !@custom_fields_initialized initialize_custom_fields send method_name, *args else |
