sg_postcode 1.1.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3241ed35ffe07e0b40a10204bf2a7952131a5648
4
- data.tar.gz: 3677670b8801efb86907e252b3923e4979872fe1
3
+ metadata.gz: e06ff76f9e762c7342c7f41fd82bb10791394777
4
+ data.tar.gz: 4bbd70e6bb5816e24248fcf49cc8f670cdaddb3e
5
5
  SHA512:
6
- metadata.gz: 42613712019d6d930c31cbbbf6dd5ebecd6c4b812dd2a11d032e1618ddbf2a5685c19ebf38cff753bb4c71e87ddf1851d26ad6c9f745abe7416c5b2c3f6424dd
7
- data.tar.gz: b51d668090072588f13e2d6ea0102f17e18116fe8c5a5dd52ad44f188a8a206ecb1a2f726a9fc1b3007868d234269cbf75fb455013017de5daa9f76f2da817b9
6
+ metadata.gz: 5af7b40bf723abf400519da4881002b06189c0bcff9fde70d4ff728787c76392d151d36e0cfab0238d9b733a27bc5f63fcbe08f3c56df55586d0f61c0e58e70e
7
+ data.tar.gz: 899486072e90152551b58800cbe77db262c49f48be797099459d1a23923701468cb57e371894885e3e628e653ba6205c04321b358a4af6cf505d8eacfc0fb2ad
@@ -43,6 +43,7 @@ module SgPostcode
43
43
  # SgPostcode::LongLatConverter.send_geo_request("230000")
44
44
  #
45
45
  def send_geo_request(postcode)
46
+ # FIXME: not sure
46
47
  return nil if Module.const_defined? @host
47
48
 
48
49
  Response.new(
@@ -54,12 +55,7 @@ module SgPostcode
54
55
  private
55
56
 
56
57
  def response(postcode)
57
- case @host
58
- when :Google
59
- Google.new(postcode).request
60
- else
61
- nil
62
- end
58
+ Proxy.new(@host, postcode, cache: true).request
63
59
  end
64
60
 
65
61
  def convert_options(opts)
@@ -68,6 +64,7 @@ module SgPostcode
68
64
  end
69
65
 
70
66
  def class_name(host)
67
+ # FIXME: not sure
71
68
  return nil unless Module.constants.include? host
72
69
  host.to_sym
73
70
  end
@@ -0,0 +1,27 @@
1
+ module SgPostcode
2
+ class CacheAdapter
3
+ @@hash_name = "SgPostcodeCaching"
4
+
5
+ def initialize(key)
6
+ @cache = Redis.new
7
+ @key = key
8
+ end
9
+
10
+ def self.hash_name=(hash_name)
11
+ @@hash_name = hash_name
12
+ end
13
+
14
+ def fetch
15
+ value_of @key
16
+ end
17
+
18
+ def store(key, value)
19
+ @cache.hset(@@hash_name, key, value)
20
+ value
21
+ end
22
+
23
+ def value_of(key)
24
+ @cache.hget(@@hash_name, key)
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,22 @@
1
+ module SgPostcode
2
+ class Proxy
3
+ attr_reader :service, :cache_adapter
4
+
5
+ def initialize(service, postcode, cache: true)
6
+ @postcode = postcode
7
+
8
+ case service
9
+ when :Google
10
+ @service = Google.new(postcode)
11
+ end
12
+
13
+ @cache_adapter = CacheAdapter.new(postcode) if cache
14
+ end
15
+
16
+ def request
17
+ return nil unless service && cache_adapter
18
+
19
+ cache_adapter.fetch || cache_adapter.store(@postcode, service.request)
20
+ end
21
+ end
22
+ end
@@ -1,3 +1,3 @@
1
1
  module SgPostcode
2
- VERSION = "1.1.1"
2
+ VERSION = "1.2.1"
3
3
  end
data/lib/sg_postcode.rb CHANGED
@@ -18,5 +18,8 @@ require "response_builder"
18
18
  require "json_output"
19
19
  require "config"
20
20
  require "array"
21
+ require "cache_adapter"
21
22
  require "google"
23
+ require "proxy"
24
+ require "redis"
22
25
  require "long_lat_converter"
@@ -1,6 +1,6 @@
1
1
  class HomesController < ApplicationController
2
2
  def index
3
- postcode = params[:postcode].try :split, ','
3
+ postcode = params[:postcode].try :split, ', '
4
4
  result = SgPostcode::Array.new(postcode || []).convert
5
5
 
6
6
  @result = result.delete_if { |item| item[:format_address].nil? }
@@ -5044,3 +5044,960 @@ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb
5044
5044
 
5045
5045
 
5046
5046
  Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-07-20 12:15:26 +0800
5047
+
5048
+
5049
+ Started GET "/" for ::1 at 2015-07-21 14:23:56 +0800
5050
+ Processing by HomesController#index as HTML
5051
+ Rendered homes/index.html.erb within layouts/application (1.8ms)
5052
+ Completed 200 OK in 133ms (Views: 133.0ms | ActiveRecord: 0.0ms)
5053
+
5054
+
5055
+ Started GET "/" for ::1 at 2015-07-21 14:24:10 +0800
5056
+ Processing by HomesController#index as HTML
5057
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5058
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
5059
+
5060
+
5061
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-07-21 14:24:10 +0800
5062
+
5063
+
5064
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-07-21 14:24:10 +0800
5065
+
5066
+
5067
+ Started GET "/" for ::1 at 2015-07-21 14:24:16 +0800
5068
+ Processing by HomesController#index as HTML
5069
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5070
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
5071
+
5072
+
5073
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-07-21 14:24:16 +0800
5074
+
5075
+
5076
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-07-21 14:24:16 +0800
5077
+
5078
+
5079
+ Started GET "/" for ::1 at 2015-07-21 14:24:21 +0800
5080
+ Processing by HomesController#index as HTML
5081
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5082
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5083
+
5084
+
5085
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-07-21 14:24:21 +0800
5086
+
5087
+
5088
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-07-21 14:24:21 +0800
5089
+
5090
+
5091
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:25 +0800
5092
+ Processing by HomesController#index as HTML
5093
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5094
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5095
+ Completed 200 OK in 635ms (Views: 9.1ms | ActiveRecord: 0.0ms)
5096
+
5097
+
5098
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:36 +0800
5099
+ Processing by HomesController#index as HTML
5100
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5101
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5102
+ Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms)
5103
+
5104
+
5105
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:39 +0800
5106
+ Processing by HomesController#index as HTML
5107
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5108
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5109
+ Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.0ms)
5110
+
5111
+
5112
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:40 +0800
5113
+ Processing by HomesController#index as HTML
5114
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5115
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5116
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)
5117
+
5118
+
5119
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:41 +0800
5120
+ Processing by HomesController#index as HTML
5121
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5122
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5123
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5124
+
5125
+
5126
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:42 +0800
5127
+ Processing by HomesController#index as HTML
5128
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5129
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5130
+ Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.0ms)
5131
+
5132
+
5133
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:42 +0800
5134
+ Processing by HomesController#index as HTML
5135
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5136
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5137
+ Completed 200 OK in 33ms (Views: 11.5ms | ActiveRecord: 0.0ms)
5138
+
5139
+
5140
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:42 +0800
5141
+ Processing by HomesController#index as HTML
5142
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5143
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5144
+ Completed 200 OK in 20ms (Views: 10.1ms | ActiveRecord: 0.0ms)
5145
+
5146
+
5147
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:43 +0800
5148
+ Processing by HomesController#index as HTML
5149
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5150
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5151
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.0ms)
5152
+
5153
+
5154
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:43 +0800
5155
+ Processing by HomesController#index as HTML
5156
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5157
+ Rendered homes/index.html.erb within layouts/application (0.4ms)
5158
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.0ms)
5159
+
5160
+
5161
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:43 +0800
5162
+ Processing by HomesController#index as HTML
5163
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5164
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5165
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5166
+
5167
+
5168
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:43 +0800
5169
+ Processing by HomesController#index as HTML
5170
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5171
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5172
+ Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms)
5173
+
5174
+
5175
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:44 +0800
5176
+ Processing by HomesController#index as HTML
5177
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5178
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5179
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.0ms)
5180
+
5181
+
5182
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:44 +0800
5183
+ Processing by HomesController#index as HTML
5184
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5185
+ Rendered homes/index.html.erb within layouts/application (0.6ms)
5186
+ Completed 200 OK in 20ms (Views: 16.7ms | ActiveRecord: 0.0ms)
5187
+
5188
+
5189
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:44 +0800
5190
+ Processing by HomesController#index as HTML
5191
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5192
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5193
+ Completed 200 OK in 18ms (Views: 14.9ms | ActiveRecord: 0.0ms)
5194
+
5195
+
5196
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:44 +0800
5197
+ Processing by HomesController#index as HTML
5198
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5199
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5200
+ Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms)
5201
+
5202
+
5203
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:45 +0800
5204
+ Processing by HomesController#index as HTML
5205
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5206
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5207
+ Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.0ms)
5208
+
5209
+
5210
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:45 +0800
5211
+ Processing by HomesController#index as HTML
5212
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5213
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5214
+ Completed 200 OK in 14ms (Views: 11.7ms | ActiveRecord: 0.0ms)
5215
+
5216
+
5217
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:45 +0800
5218
+ Processing by HomesController#index as HTML
5219
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5220
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5221
+ Completed 200 OK in 11ms (Views: 9.2ms | ActiveRecord: 0.0ms)
5222
+
5223
+
5224
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:24:45 +0800
5225
+ Processing by HomesController#index as HTML
5226
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5227
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5228
+ Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.0ms)
5229
+
5230
+
5231
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:25:01 +0800
5232
+ Processing by HomesController#index as HTML
5233
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5234
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5235
+ Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms)
5236
+
5237
+
5238
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:20 +0800
5239
+ Processing by HomesController#index as HTML
5240
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5241
+ Rendered homes/index.html.erb within layouts/application (0.6ms)
5242
+ Completed 200 OK in 679ms (Views: 12.0ms | ActiveRecord: 0.0ms)
5243
+
5244
+
5245
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:29 +0800
5246
+ Processing by HomesController#index as HTML
5247
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5248
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5249
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms)
5250
+
5251
+
5252
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:29 +0800
5253
+ Processing by HomesController#index as HTML
5254
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5255
+ Rendered homes/index.html.erb within layouts/application (0.4ms)
5256
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5257
+
5258
+
5259
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:30 +0800
5260
+ Processing by HomesController#index as HTML
5261
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5262
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5263
+ Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.0ms)
5264
+
5265
+
5266
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:30 +0800
5267
+ Processing by HomesController#index as HTML
5268
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5269
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5270
+ Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5271
+
5272
+
5273
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:30 +0800
5274
+ Processing by HomesController#index as HTML
5275
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5276
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5277
+ Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms)
5278
+
5279
+
5280
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:31 +0800
5281
+ Processing by HomesController#index as HTML
5282
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5283
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5284
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5285
+
5286
+
5287
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:32 +0800
5288
+ Processing by HomesController#index as HTML
5289
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5290
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5291
+ Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.0ms)
5292
+
5293
+
5294
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:32 +0800
5295
+ Processing by HomesController#index as HTML
5296
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5297
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5298
+ Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms)
5299
+
5300
+
5301
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:32 +0800
5302
+ Processing by HomesController#index as HTML
5303
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5304
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5305
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5306
+
5307
+
5308
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:32 +0800
5309
+ Processing by HomesController#index as HTML
5310
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5311
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5312
+ Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms)
5313
+
5314
+
5315
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:33 +0800
5316
+ Processing by HomesController#index as HTML
5317
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5318
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5319
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms)
5320
+
5321
+
5322
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:33 +0800
5323
+ Processing by HomesController#index as HTML
5324
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5325
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5326
+ Completed 200 OK in 13ms (Views: 11.3ms | ActiveRecord: 0.0ms)
5327
+
5328
+
5329
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:33 +0800
5330
+ Processing by HomesController#index as HTML
5331
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5332
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5333
+ Completed 200 OK in 12ms (Views: 10.2ms | ActiveRecord: 0.0ms)
5334
+
5335
+
5336
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:33 +0800
5337
+ Processing by HomesController#index as HTML
5338
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5339
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5340
+ Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms)
5341
+
5342
+
5343
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:44 +0800
5344
+ Processing by HomesController#index as HTML
5345
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5346
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5347
+ Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms)
5348
+
5349
+
5350
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:45 +0800
5351
+ Processing by HomesController#index as HTML
5352
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5353
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5354
+ Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.0ms)
5355
+
5356
+
5357
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:45 +0800
5358
+ Processing by HomesController#index as HTML
5359
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5360
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5361
+ Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms)
5362
+
5363
+
5364
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:46 +0800
5365
+ Processing by HomesController#index as HTML
5366
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5367
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5368
+ Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.0ms)
5369
+
5370
+
5371
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:25:47 +0800
5372
+ Processing by HomesController#index as HTML
5373
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5374
+ Rendered homes/index.html.erb within layouts/application (0.4ms)
5375
+ Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms)
5376
+
5377
+
5378
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:03 +0800
5379
+ Processing by HomesController#index as HTML
5380
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5381
+ Rendered homes/index.html.erb within layouts/application (0.4ms)
5382
+ Completed 200 OK in 830ms (Views: 10.8ms | ActiveRecord: 0.0ms)
5383
+
5384
+
5385
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:11 +0800
5386
+ Processing by HomesController#index as HTML
5387
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5388
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5389
+ Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.0ms)
5390
+
5391
+
5392
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:12 +0800
5393
+ Processing by HomesController#index as HTML
5394
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5395
+ Rendered homes/index.html.erb within layouts/application (0.4ms)
5396
+ Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5397
+
5398
+
5399
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:13 +0800
5400
+ Processing by HomesController#index as HTML
5401
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5402
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5403
+ Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5404
+
5405
+
5406
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:13 +0800
5407
+ Processing by HomesController#index as HTML
5408
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5409
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5410
+ Completed 200 OK in 13ms (Views: 7.9ms | ActiveRecord: 0.0ms)
5411
+
5412
+
5413
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:13 +0800
5414
+ Processing by HomesController#index as HTML
5415
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5416
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5417
+ Completed 200 OK in 13ms (Views: 9.3ms | ActiveRecord: 0.0ms)
5418
+
5419
+
5420
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:13 +0800
5421
+ Processing by HomesController#index as HTML
5422
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5423
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5424
+ Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.0ms)
5425
+
5426
+
5427
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:14 +0800
5428
+ Processing by HomesController#index as HTML
5429
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5430
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5431
+ Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 0.0ms)
5432
+
5433
+
5434
+ Started GET "/?postcode=247964%2C+238432%2C+050335%2C+521110%2C+546080%2C+308215" for ::1 at 2015-07-21 14:26:14 +0800
5435
+ Processing by HomesController#index as HTML
5436
+ Parameters: {"postcode"=>"247964, 238432, 050335, 521110, 546080, 308215"}
5437
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5438
+ Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5439
+
5440
+
5441
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:19 +0800
5442
+ Processing by HomesController#index as HTML
5443
+ Parameters: {"postcode"=>"247964"}
5444
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5445
+ Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
5446
+
5447
+
5448
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:20 +0800
5449
+ Processing by HomesController#index as HTML
5450
+ Parameters: {"postcode"=>"247964"}
5451
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5452
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5453
+
5454
+
5455
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:20 +0800
5456
+ Processing by HomesController#index as HTML
5457
+ Parameters: {"postcode"=>"247964"}
5458
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5459
+ Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
5460
+
5461
+
5462
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:21 +0800
5463
+ Processing by HomesController#index as HTML
5464
+ Parameters: {"postcode"=>"247964"}
5465
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5466
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5467
+
5468
+
5469
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:21 +0800
5470
+ Processing by HomesController#index as HTML
5471
+ Parameters: {"postcode"=>"247964"}
5472
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5473
+ Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
5474
+
5475
+
5476
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:21 +0800
5477
+ Processing by HomesController#index as HTML
5478
+ Parameters: {"postcode"=>"247964"}
5479
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5480
+ Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5481
+
5482
+
5483
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:21 +0800
5484
+ Processing by HomesController#index as HTML
5485
+ Parameters: {"postcode"=>"247964"}
5486
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5487
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5488
+
5489
+
5490
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:26:21 +0800
5491
+ Processing by HomesController#index as HTML
5492
+ Parameters: {"postcode"=>"247964"}
5493
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5494
+ Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
5495
+
5496
+
5497
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:33 +0800
5498
+ Processing by HomesController#index as HTML
5499
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5500
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5501
+ Completed 200 OK in 14ms (Views: 11.4ms | ActiveRecord: 0.0ms)
5502
+
5503
+
5504
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:38 +0800
5505
+ Processing by HomesController#index as HTML
5506
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5507
+ Rendered homes/index.html.erb within layouts/application (0.5ms)
5508
+ Completed 200 OK in 19ms (Views: 16.8ms | ActiveRecord: 0.0ms)
5509
+
5510
+
5511
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:38 +0800
5512
+ Processing by HomesController#index as HTML
5513
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5514
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5515
+ Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)
5516
+
5517
+
5518
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:38 +0800
5519
+ Processing by HomesController#index as HTML
5520
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5521
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5522
+ Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms)
5523
+
5524
+
5525
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:39 +0800
5526
+ Processing by HomesController#index as HTML
5527
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5528
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5529
+ Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms)
5530
+
5531
+
5532
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:39 +0800
5533
+ Processing by HomesController#index as HTML
5534
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5535
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5536
+ Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms)
5537
+
5538
+
5539
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:39 +0800
5540
+ Processing by HomesController#index as HTML
5541
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5542
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5543
+ Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms)
5544
+
5545
+
5546
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:40 +0800
5547
+ Processing by HomesController#index as HTML
5548
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5549
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5550
+ Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms)
5551
+
5552
+
5553
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:40 +0800
5554
+ Processing by HomesController#index as HTML
5555
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5556
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5557
+ Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5558
+
5559
+
5560
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:40 +0800
5561
+ Processing by HomesController#index as HTML
5562
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5563
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5564
+ Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms)
5565
+
5566
+
5567
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:40 +0800
5568
+ Processing by HomesController#index as HTML
5569
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5570
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5571
+ Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms)
5572
+
5573
+
5574
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:41 +0800
5575
+ Processing by HomesController#index as HTML
5576
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5577
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5578
+ Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms)
5579
+
5580
+
5581
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:41 +0800
5582
+ Processing by HomesController#index as HTML
5583
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5584
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5585
+ Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.0ms)
5586
+
5587
+
5588
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:41 +0800
5589
+ Processing by HomesController#index as HTML
5590
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5591
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5592
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5593
+
5594
+
5595
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:41 +0800
5596
+ Processing by HomesController#index as HTML
5597
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5598
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5599
+ Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms)
5600
+
5601
+
5602
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:42 +0800
5603
+ Processing by HomesController#index as HTML
5604
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5605
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5606
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)
5607
+
5608
+
5609
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:42 +0800
5610
+ Processing by HomesController#index as HTML
5611
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5612
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5613
+ Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms)
5614
+
5615
+
5616
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:42 +0800
5617
+ Processing by HomesController#index as HTML
5618
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5619
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5620
+ Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)
5621
+
5622
+
5623
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:42 +0800
5624
+ Processing by HomesController#index as HTML
5625
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5626
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5627
+ Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.0ms)
5628
+
5629
+
5630
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:43 +0800
5631
+ Processing by HomesController#index as HTML
5632
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5633
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5634
+ Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms)
5635
+
5636
+
5637
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:43 +0800
5638
+ Processing by HomesController#index as HTML
5639
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5640
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5641
+ Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.0ms)
5642
+
5643
+
5644
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:43 +0800
5645
+ Processing by HomesController#index as HTML
5646
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5647
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5648
+ Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms)
5649
+
5650
+
5651
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:26:44 +0800
5652
+ Processing by HomesController#index as HTML
5653
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5654
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5655
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5656
+
5657
+
5658
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:27:12 +0800
5659
+ Processing by HomesController#index as HTML
5660
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5661
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5662
+ Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)
5663
+
5664
+
5665
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:09 +0800
5666
+ Processing by HomesController#index as HTML
5667
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5668
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5669
+ Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms)
5670
+
5671
+
5672
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:10 +0800
5673
+ Processing by HomesController#index as HTML
5674
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5675
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5676
+ Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.0ms)
5677
+
5678
+
5679
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:33 +0800
5680
+ Processing by HomesController#index as HTML
5681
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5682
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5683
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.0ms)
5684
+
5685
+
5686
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:41 +0800
5687
+ Processing by HomesController#index as HTML
5688
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5689
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5690
+ Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms)
5691
+
5692
+
5693
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:46 +0800
5694
+ Processing by HomesController#index as HTML
5695
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5696
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5697
+ Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.0ms)
5698
+
5699
+
5700
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:50 +0800
5701
+ Processing by HomesController#index as HTML
5702
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5703
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5704
+ Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)
5705
+
5706
+
5707
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:55 +0800
5708
+ Processing by HomesController#index as HTML
5709
+ Parameters: {"postcode"=>"247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5710
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5711
+ Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms)
5712
+
5713
+
5714
+ Started GET "/?postcode=247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:28:59 +0800
5715
+ Processing by HomesController#index as HTML
5716
+ Parameters: {"postcode"=>"247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5717
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5718
+ Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms)
5719
+
5720
+
5721
+ Started GET "/?postcode=247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:03 +0800
5722
+ Processing by HomesController#index as HTML
5723
+ Parameters: {"postcode"=>"247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5724
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5725
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
5726
+
5727
+
5728
+ Started GET "/?postcode=247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:14 +0800
5729
+ Processing by HomesController#index as HTML
5730
+ Parameters: {"postcode"=>"247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5731
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5732
+ Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms)
5733
+
5734
+
5735
+ Started GET "/?postcode=247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:20 +0800
5736
+ Processing by HomesController#index as HTML
5737
+ Parameters: {"postcode"=>"247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5738
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5739
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
5740
+
5741
+
5742
+ Started GET "/?postcode=247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:29 +0800
5743
+ Processing by HomesController#index as HTML
5744
+ Parameters: {"postcode"=>"247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5745
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5746
+ Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms)
5747
+
5748
+
5749
+ Started GET "/?postcode=247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:31 +0800
5750
+ Processing by HomesController#index as HTML
5751
+ Parameters: {"postcode"=>"247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5752
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5753
+ Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms)
5754
+
5755
+
5756
+ Started GET "/?postcode=247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:32 +0800
5757
+ Processing by HomesController#index as HTML
5758
+ Parameters: {"postcode"=>"247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5759
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5760
+ Completed 200 OK in 20ms (Views: 18.1ms | ActiveRecord: 0.0ms)
5761
+
5762
+
5763
+ Started GET "/?postcode=247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:29:32 +0800
5764
+ Processing by HomesController#index as HTML
5765
+ Parameters: {"postcode"=>"247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5766
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5767
+ Completed 200 OK in 17ms (Views: 12.0ms | ActiveRecord: 0.0ms)
5768
+
5769
+
5770
+ Started GET "/?postcode=555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:29:40 +0800
5771
+ Processing by HomesController#index as HTML
5772
+ Parameters: {"postcode"=>"555851, 098537, 098537, 349489, 098537, 098537"}
5773
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5774
+ Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms)
5775
+
5776
+
5777
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537" for ::1 at 2015-07-21 14:29:52 +0800
5778
+ Processing by HomesController#index as HTML
5779
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537"}
5780
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5781
+ Completed 200 OK in 195ms (Views: 8.3ms | ActiveRecord: 0.0ms)
5782
+
5783
+
5784
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:04 +0800
5785
+ Processing by HomesController#index as HTML
5786
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5787
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5788
+ Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms)
5789
+
5790
+
5791
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:05 +0800
5792
+ Processing by HomesController#index as HTML
5793
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5794
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5795
+ Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 0.0ms)
5796
+
5797
+
5798
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:06 +0800
5799
+ Processing by HomesController#index as HTML
5800
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5801
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5802
+ Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.0ms)
5803
+
5804
+
5805
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:06 +0800
5806
+ Processing by HomesController#index as HTML
5807
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5808
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5809
+ Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 0.0ms)
5810
+
5811
+
5812
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:07 +0800
5813
+ Processing by HomesController#index as HTML
5814
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5815
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5816
+ Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.0ms)
5817
+
5818
+
5819
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:07 +0800
5820
+ Processing by HomesController#index as HTML
5821
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5822
+ Rendered homes/index.html.erb within layouts/application (0.4ms)
5823
+ Completed 200 OK in 14ms (Views: 10.2ms | ActiveRecord: 0.0ms)
5824
+
5825
+
5826
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:07 +0800
5827
+ Processing by HomesController#index as HTML
5828
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5829
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5830
+ Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms)
5831
+
5832
+
5833
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:30:08 +0800
5834
+ Processing by HomesController#index as HTML
5835
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5836
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5837
+ Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5838
+
5839
+
5840
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:36:33 +0800
5841
+ Processing by HomesController#index as HTML
5842
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5843
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5844
+ Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms)
5845
+
5846
+
5847
+ Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for ::1 at 2015-07-21 14:36:33 +0800
5848
+
5849
+
5850
+ Started GET "/assets/application.self-e80e8f2318043e8af94dddc2adad5a4f09739a8ebb323b3ab31cd71d45fd9113.css?body=1" for ::1 at 2015-07-21 14:36:33 +0800
5851
+
5852
+
5853
+ Started GET "/?postcode=555851%2C+555851%2C+098537%2C+098537%2C+349489%2C+098537%2C+098537%2C+555851" for ::1 at 2015-07-21 14:36:34 +0800
5854
+ Processing by HomesController#index as HTML
5855
+ Parameters: {"postcode"=>"555851, 555851, 098537, 098537, 349489, 098537, 098537, 555851"}
5856
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5857
+ Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms)
5858
+
5859
+
5860
+ Started GET "/?postcode=238432" for ::1 at 2015-07-21 14:36:37 +0800
5861
+ Processing by HomesController#index as HTML
5862
+ Parameters: {"postcode"=>"238432"}
5863
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
5864
+
5865
+ JSON::ParserError (757: unexpected token at 'response'):
5866
+ app/controllers/homes_controller.rb:4:in `index'
5867
+
5868
+
5869
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms)
5870
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
5871
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
5872
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (40.5ms)
5873
+
5874
+
5875
+ Started GET "/?postcode=238432" for ::1 at 2015-07-21 14:37:28 +0800
5876
+ Processing by HomesController#index as HTML
5877
+ Parameters: {"postcode"=>"238432"}
5878
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
5879
+
5880
+ JSON::ParserError (757: unexpected token at 'response'):
5881
+ app/controllers/homes_controller.rb:4:in `index'
5882
+
5883
+
5884
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms)
5885
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
5886
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
5887
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (37.9ms)
5888
+
5889
+
5890
+ Started GET "/?postcode=238432" for ::1 at 2015-07-21 14:37:29 +0800
5891
+ Processing by HomesController#index as HTML
5892
+ Parameters: {"postcode"=>"238432"}
5893
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
5894
+
5895
+ JSON::ParserError (757: unexpected token at 'response'):
5896
+ app/controllers/homes_controller.rb:4:in `index'
5897
+
5898
+
5899
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms)
5900
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
5901
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
5902
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (39.0ms)
5903
+
5904
+
5905
+ Started GET "/?postcode=238432" for ::1 at 2015-07-21 14:37:29 +0800
5906
+ Processing by HomesController#index as HTML
5907
+ Parameters: {"postcode"=>"238432"}
5908
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
5909
+
5910
+ JSON::ParserError (757: unexpected token at 'response'):
5911
+ app/controllers/homes_controller.rb:4:in `index'
5912
+
5913
+
5914
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms)
5915
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
5916
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
5917
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (40.4ms)
5918
+
5919
+
5920
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:37:38 +0800
5921
+ Processing by HomesController#index as HTML
5922
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5923
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5924
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5925
+
5926
+
5927
+ Started GET "/?postcode=238432" for ::1 at 2015-07-21 14:37:45 +0800
5928
+ Processing by HomesController#index as HTML
5929
+ Parameters: {"postcode"=>"238432"}
5930
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
5931
+
5932
+ JSON::ParserError (757: unexpected token at 'response'):
5933
+ app/controllers/homes_controller.rb:4:in `index'
5934
+
5935
+
5936
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms)
5937
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
5938
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
5939
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (38.6ms)
5940
+
5941
+
5942
+ Started GET "/?postcode=238432%2C+156789" for ::1 at 2015-07-21 14:37:56 +0800
5943
+ Processing by HomesController#index as HTML
5944
+ Parameters: {"postcode"=>"238432, 156789"}
5945
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
5946
+
5947
+ JSON::ParserError (757: unexpected token at 'response'):
5948
+ app/controllers/homes_controller.rb:4:in `index'
5949
+
5950
+
5951
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.1ms)
5952
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
5953
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
5954
+ Rendered /Users/kevin/.rvm/gems/ruby-2.2.2@lovestory/gems/actionpack-4.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (35.3ms)
5955
+
5956
+
5957
+ Started GET "/?postcode=247964" for ::1 at 2015-07-21 14:38:06 +0800
5958
+ Processing by HomesController#index as HTML
5959
+ Parameters: {"postcode"=>"247964"}
5960
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5961
+ Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)
5962
+
5963
+
5964
+ Started GET "/?postcode=247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+247964%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335%2C+050335" for ::1 at 2015-07-21 14:44:30 +0800
5965
+ Processing by HomesController#index as HTML
5966
+ Parameters: {"postcode"=>"247964, 247964, 247964, 247964, 247964, 247964, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335, 050335"}
5967
+ Rendered homes/index.html.erb within layouts/application (0.3ms)
5968
+ Completed 200 OK in 550ms (Views: 11.4ms | ActiveRecord: 0.0ms)
5969
+
5970
+
5971
+ Started GET "/?postcode=238432%2C+247964" for ::1 at 2015-07-21 14:44:50 +0800
5972
+ Processing by HomesController#index as HTML
5973
+ Parameters: {"postcode"=>"238432, 247964"}
5974
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5975
+ Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms)
5976
+
5977
+
5978
+ Started GET "/?postcode=238432%2C+238432%2C+247964" for ::1 at 2015-07-21 14:44:59 +0800
5979
+ Processing by HomesController#index as HTML
5980
+ Parameters: {"postcode"=>"238432, 238432, 247964"}
5981
+ Rendered homes/index.html.erb within layouts/application (0.2ms)
5982
+ Completed 200 OK in 77ms (Views: 21.3ms | ActiveRecord: 0.0ms)
5983
+
5984
+
5985
+ Started GET "/?postcode=238432%2C+238432%2C+247964" for ::1 at 2015-07-21 14:50:49 +0800
5986
+ Processing by HomesController#index as HTML
5987
+ Parameters: {"postcode"=>"238432, 238432, 247964"}
5988
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5989
+ Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms)
5990
+
5991
+
5992
+ Started GET "/?postcode=238432%2C+238432%2C+247964" for ::1 at 2015-07-21 14:50:50 +0800
5993
+ Processing by HomesController#index as HTML
5994
+ Parameters: {"postcode"=>"238432, 238432, 247964"}
5995
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
5996
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
5997
+
5998
+
5999
+ Started GET "/?postcode=238432%2C+238432%2C+247964" for ::1 at 2015-07-21 14:50:52 +0800
6000
+ Processing by HomesController#index as HTML
6001
+ Parameters: {"postcode"=>"238432, 238432, 247964"}
6002
+ Rendered homes/index.html.erb within layouts/application (0.1ms)
6003
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
@@ -1 +1 @@
1
- 18647
1
+ 12598
@@ -0,0 +1,31 @@
1
+ require 'test_helper'
2
+
3
+ class TestCacheAdapter < Minitest::Test
4
+ def setup
5
+ @cache_adapter = SgPostcode::CacheAdapter.new(nil)
6
+ end
7
+
8
+ def test_value_of_empty_key
9
+ assert_equal nil, @cache_adapter.value_of('test')
10
+ end
11
+
12
+ def test_value_of_valid_key
13
+ @cache_adapter.store('valid_key', 'test_value')
14
+ assert_equal 'test_value', @cache_adapter.value_of('valid_key')
15
+ end
16
+
17
+ def test_store_value
18
+ assert_equal 'test_value', @cache_adapter.store('valid_key1', 'test_value')
19
+ assert_equal 'test_value', @cache_adapter.value_of('valid_key1')
20
+ end
21
+
22
+ def teardown
23
+ cache_object = @cache_adapter.instance_variable_get(:@cache)
24
+ fields = cache_object.hkeys(SgPostcode::CacheAdapter.instance_variable_get(:@keys))
25
+ hash_name = SgPostcode::CacheAdapter.instance_variable_get(:@hash_name)
26
+ fields.each do |field|
27
+ cache_object.hdel(hash_name, field)
28
+ end
29
+ assert_equal 0, cache_object.hlen(hash_name)
30
+ end
31
+ end
@@ -0,0 +1,57 @@
1
+ require 'test_helper'
2
+
3
+ class TestProxy < Minitest::Test
4
+ def setup
5
+ @proxy = SgPostcode::Proxy.new(:Google, "238432", cache: true)
6
+ end
7
+
8
+ def test_initialize_new_proxy_object
9
+ assert_kind_of SgPostcode::Proxy, @proxy
10
+ assert_kind_of SgPostcode::Google, @proxy.service
11
+ assert_kind_of SgPostcode::CacheAdapter, @proxy.cache_adapter
12
+ end
13
+
14
+ def test_request_a_new_postcode
15
+ @proxy.request
16
+
17
+ response = "response"
18
+ @proxy.service.stub :request, response do
19
+ assert_send([@proxy.cache_adapter, :store, "238432", response])
20
+ end
21
+ end
22
+
23
+ def test_request_a_exist_postcode
24
+ proxy = SgPostcode::Proxy.new(:Google, "500000", cache: true)
25
+
26
+ mock = Minitest::Mock.new
27
+ mock.expect :fetch, "500000"
28
+
29
+ proxy.request
30
+ proxy.stub :cache_adapter, mock do
31
+ assert_send([proxy.cache_adapter, :fetch])
32
+ end
33
+ end
34
+
35
+ def test_request_only_fetch_from_cache
36
+ proxy = SgPostcode::Proxy.new(:Google, "111111", cache: true)
37
+
38
+ mock = Minitest::Mock.new
39
+ mock.expect :fetch, true
40
+
41
+ proxy.stub :cache_adapter, mock do
42
+ assert_equal true, proxy.request
43
+ end
44
+ end
45
+
46
+ def test_request_send_real_request
47
+ proxy = SgPostcode::Proxy.new(:Google, "111111", cache: true)
48
+
49
+ mock = Minitest::Mock.new
50
+ mock.expect :fetch, false
51
+ mock.expect :store, true, [String, String]
52
+
53
+ proxy.stub :cache_adapter, mock do
54
+ assert_equal true, proxy.request
55
+ end
56
+ end
57
+ end
data/test/test_helper.rb CHANGED
@@ -17,6 +17,8 @@ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
17
17
  # Load support files
18
18
  Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
19
19
 
20
+ SgPostcode::CacheAdapter.hash_name = "test_redis_store"
21
+
20
22
  # Load fixtures from the engine
21
23
  if ActiveSupport::TestCase.respond_to?(:fixture_path=)
22
24
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
@@ -35,6 +35,20 @@ class TestSgPostcode < Minitest::Test
35
35
  assert_equal 10, array_convert.first[:density]
36
36
  end
37
37
 
38
+ def test_real_convert_with_density2
39
+ array_convert =
40
+ SgPostcode::Array
41
+ .new(['540000', '540000', '210000'])
42
+ .convert
43
+
44
+ assert_kind_of Array, array_convert
45
+ assert_equal 2, array_convert.count
46
+ assert_operator array_convert.first, :key?, :density
47
+ assert_equal 2, array_convert.first[:density]
48
+ refute_operator array_convert[1], :key?, :density
49
+ end
50
+
51
+
38
52
  def test_invalid_convert
39
53
  array_convert =
40
54
  SgPostcode::Array
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sg_postcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duy Khoa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -54,7 +54,9 @@ files:
54
54
  - lib/sg_postcode/response/json_output.rb
55
55
  - lib/sg_postcode/response/response.rb
56
56
  - lib/sg_postcode/response/response_builder.rb
57
+ - lib/sg_postcode/services/cache_adapter.rb
57
58
  - lib/sg_postcode/services/google.rb
59
+ - lib/sg_postcode/services/proxy.rb
58
60
  - lib/sg_postcode/version.rb
59
61
  - lib/tasks/sg_postcode_tasks.rake
60
62
  - test/converters/test_long_lat_converter.rb
@@ -118,6 +120,8 @@ files:
118
120
  - test/response/test_json_output.rb
119
121
  - test/response/test_response_builder.rb
120
122
  - test/sample_response.json
123
+ - test/services/test_cache_adapter.rb
124
+ - test/services/test_proxy.rb
121
125
  - test/test_helper.rb
122
126
  - test/test_sg_postcode.rb
123
127
  homepage:
@@ -206,6 +210,8 @@ test_files:
206
210
  - test/response/test_json_output.rb
207
211
  - test/response/test_response_builder.rb
208
212
  - test/sample_response.json
213
+ - test/services/test_cache_adapter.rb
214
+ - test/services/test_proxy.rb
209
215
  - test/test_helper.rb
210
216
  - test/test_sg_postcode.rb
211
217
  has_rdoc: