lib/array.rb in gmaps4rails-0.2.5 vs lib/array.rb in gmaps4rails-0.2.6

- old
+ new

@@ -1,11 +1,10 @@ class Array def to_gmaps4rails json = "[" each do |object| if (!(object.gmaps4rails_latitude == "" || object.gmaps4rails_longitude == "")) - json += Gmaps4rails.create_json(object) - json += "," + json += Gmaps4rails.create_json(object).to_s end end json.chop! json += "]" end \ No newline at end of file