diff --git a/app/models/experience.rb b/app/models/experience.rb index e47bc24..9bdc5ff 100644 --- a/app/models/experience.rb +++ b/app/models/experience.rb @@ -73,7 +73,7 @@ class Experience pd_data = [] fields_to_show.collect do |t| if t == "organizationt_title" - pd_data << { "data_title" => "#{p.send(t)}" } + pd_data << { "data_title" => "#{p.send(t)}" } elsif t == "duration" if !p.send('start_date').nil? or !p.send('end_date').nil? @@ -124,7 +124,7 @@ class Experience value = self.send(field) rescue "" end - value = (value =~ /\A#{URI::regexp(['http', 'https'])}\z/) ? "#{value}" : value + value = (value =~ /\A#{URI::regexp(['http', 'https'])}\z/) ? "#{value}" : value { "key"=>field,