CartoDB / cartodb

Location Intelligence & Data Visualization tool
http://carto.com
BSD 3-Clause "New" or "Revised" License
2.75k stars 650 forks source link

rendering app/views/admin/visualizations/show.html.erb, raised no implicit conversion of nil into String #7324

Closed erikwoo closed 7 years ago

erikwoo commented 8 years ago
Extracted source (around line #11):

8: 
9:   <script type="text/javascript" id="dropboxjs" src="//www.dropbox.com/static/api/1/dropins.js" data-app-key="<%= Cartodb.config[:dropbox_api_key] %>"></script>
10:   <script>
11:     var vis_data = <%= safe_js_object @visualization.to_hash.to_json %>
12:     , user_data = <%= safe_js_object current_user.data({ show_api_calls: false }).to_json %>
13:     , config = <%= safe_js_object frontend_config %>
14:     , map_data = <%= safe_js_object @visualization.map.public_values.to_json %>

Application Trace

app/models/carto/visualization.rb:387:in `get_related_tables'
app/models/carto/visualization.rb:91:in `related_tables'
app/controllers/carto/api/visualization_presenter.rb:118:in `related_tables'
app/controllers/carto/api/visualization_presenter.rb:68:in `to_poro'
app/controllers/carto/admin/visualization_public_map_adapter.rb:45:in `to_hash'
app/views/admin/visualizations/show.html.erb:11:in `_app_views_admin_visualizations_show_html_erb___2706440484392279212_70343937094920'
app/controllers/admin/visualizations_controller.rb:80:in `show'
app/controllers/application_controller.rb:99:in `wrap_in_profiler'

p @visualization.inspect #<Carto::Admin::VisualizationPublicMapAdapter:0x007ff474369b90 @visualization=#<Carto::Visualization id: \"1a24a2d8-1594-11e6-af70-d0a637ed3cd9\", name: \"csv_no_quotes\", description: nil, type: \"table\", tags: nil, privacy: \"private\", created_at: \"2016-05-09 11:14:11\", updated_at: \"2016-05-09 11:14:13\", encrypted_password: nil, password_salt: nil, map_id: \"8eb8e2e9-1fd7-45e8-ba45-9c738e98d1b9\", active_layer_id: nil, user_id: \"e282cdf9-d2cc-4201-97c0-35b645dc8038\", permission_id: \"eff5d4af-2bd4-45bb-923b-f89911a17f06\", source: nil, locked: false, license: nil, title: nil, kind: \"geom\", parent_id: nil, prev_id: nil, next_id: nil, slide_transition_options: \"{}\", active_child: nil, attributions: nil, bbox: \"0103000020110F0000010000000500000087C6A1CDCA0073C1C...\", display_name: nil>, @current_viewer=#<User @values={:email=>\"wujunhong@bigeyedata.com\", :crypted_password=>\"1cab0e983e47f23192cbb8da2ab2e88cbb8a675b\", :salt=>\"7906c7305e9dbaed68b5467223467a768d54c4f5\", :database_name=>\"cartodb_dev_user_e282cdf9-d2cc-4201-97c0-35b645dc8038_db\", :username=>\"dev\", :admin=>nil, :enabled=>true, :invite_token=>nil, :invite_token_date=>nil, :map_enabled=>true, :quota_in_bytes=>1073741824, :table_quota=>nil, :account_type=>\"[DEDICATED]\", :private_tables_enabled=>true, :period_end_date=>2016-05-09 10:41:05 +0800, :map_view_quota=>10000, :max_layers=>4, :database_timeout=>300000, :user_timeout=>300000, :upgraded_at=>nil, :map_view_block_price=>nil, :geocoding_quota=>0, :dashboard_viewed_at=>2016-05-09 11:10:39 +0800, :sync_tables_enabled=>true, :database_host=>\"localhost\", :geocoding_block_price=>nil, :api_key=>\"6401d72382a9679eab93051c6a96ed7085197737\", :notification=>nil, :organization_id=>nil, :created_at=>2016-05-09 10:41:05 +0800, :updated_at=>2016-05-09 10:59:23 +0800, :disqus_shortname=>nil, :id=>\"e282cdf9-d2cc-4201-97c0-35b645dc8038\", :twitter_username=>nil, :website=>nil, :description=>nil, :name=>nil, :avatar_url=>\"example.com/avatars/avatar_stars_red.png\", :database_schema=>\"public\", :soft_geocoding_limit=>nil, :auth_token=>nil, :twitter_datasource_enabled=>nil, :twitter_datasource_block_price=>nil, :twitter_datasource_block_size=>nil, :twitter_datasource_quota=>0, :soft_twitter_datasource_limit=>false, :arcgis_datasource_enabled=>nil, :available_for_hire=>false, :private_maps_enabled=>false, :google_sign_in=>false, :last_password_change_date=>nil, :max_import_file_size=>1572864000, :max_import_table_row_count=>5000000, :max_concurrent_import_count=>3, :last_common_data_update_date=>2016-05-09 10:59:23 +0800, :google_maps_key=>nil, :google_maps_private_key=>nil, :enable_account_token=>nil, :location=>nil, :here_isolines_quota=>0, :here_isolines_block_price=>nil, :soft_here_isolines_limit=>nil, :obs_snapshot_quota=>0, :obs_snapshot_block_price=>nil, :soft_obs_snapshot_limit=>nil}>, @context=#<Admin::VisualizationsController:0x007ff476fa10c8 @_routes=nil, @_action_has_layout=true, @_headers={\"Content-Type\"=>\"text/html\"}, @_status=200, @_request=#<ActionDispatch::Request:0x007ff476fa0f88 @env={\"SERVER_SOFTWARE\"=>\"thin 1.6.4 codename Gob Bluth\", \"SERVER_NAME\"=>\"localhost\", \"rack.input\"=>#<StringIO:0x007ff4771c2410>, \"rack.version\"=>[1, 0], \"rack.errors\"=>#<IO:<STDERR>>, \"rack.multithread\"=>true, \"rack.multiprocess\"=>false, \"rack.run_once\"=>false, \"REQUEST_METHOD\"=>\"GET\", \"REQUEST_PATH\"=>\"/user/dev/tables/csv_no_quotes\", \"PATH_INFO\"=>\"/user/dev/tables/csv_no_quotes\", \"REQUEST_URI\"=>\"/user/dev/tables/csv_no_quotes\", \"HTTP_VERSION\"=>\"HTTP/1.1\", \"HTTP_HOST\"=>\"localhost:3000\", \"HTTP_CONNECTION\"=>\"keep-alive\", \"HTTP_CACHE_CONTROL\"=>\"max-age=0\", \"HTTP_ACCEPT\"=>\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\", \"HTTP_UPGRADE_INSECURE_REQUESTS\"=>\"1\", \"HTTP_USER_AGENT\"=>\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\", \"HTTP_ACCEPT_ENCODING\"=>\"gzip, deflate, sdch\", \"HTTP_ACCEPT_LANGUAGE\"=>\"zh-CN,zh;q=0.8,en;q=0.6\", \"HTTP_COOKIE\"=>\"_ga=GA1.1.1602656446.1462096115; _cartodb_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg%3D%3D--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\", \"HTTP_IF_NONE_MATCH\"=>\"\\\"01e0434058da90c090167e8c32e46ae0\\\"\", \"GATEWAY_INTERFACE\"=>\"CGI/1.2\", \"SERVER_PORT\"=>\"3000\", \"QUERY_STRING\"=>\"\", \"SERVER_PROTOCOL\"=>\"HTTP/1.1\", \"rack.url_scheme\"=>\"http\", \"SCRIPT_NAME\"=>\"\", \"REMOTE_ADDR\"=>\"127.0.0.1\", \"async.callback\"=>#<Method: Thin::Connection#post_process>, \"async.close\"=>#<EventMachine::DefaultDeferrable:0x007ff477198ef8>, \"ORIGINAL_FULLPATH\"=>\"/user/dev/tables/csv_no_quotes\", \"action_dispatch.routes\"=>#<ActionDispatch::Routing::RouteSet:0x007ff473fda2e0>, \"action_dispatch.parameter_filter\"=>[:password], \"action_dispatch.secret_token\"=>\"71c2b25921b84a1cb21c71503ab8fb23\", \"action_dispatch.show_exceptions\"=>true, \"action_dispatch.show_detailed_exceptions\"=>true, \"action_dispatch.logger\"=>#<ActiveSupport::TaggedLogging:0x007ff476903040 @logger=#<ActiveSupport::BufferedLogger:0x007ff4769035e0 @log_dest=#<File:/Users/wujunhong/cartodb/cartodb/log/development.log>, @log=#<Logger:0x007ff4769034f0 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007ff476903428 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x007ff476903270 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007ff476903388 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/wujunhong/cartodb/cartodb/log/development.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x007ff476903298>>>>>, \"action_dispatch.backtrace_cleaner\"=>#<Rails::BacktraceCleaner:0x007ff477184340 @filters=[#<Proc:0x007ff477184278@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x007ff477184250@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x007ff477184228@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x007ff47716f8c8@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x007ff47716f8a0@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:15>]>, \"action_dispatch.request_id\"=>\"dd5a78e7eb6f3235c11ade1b25380251\", \"rollbar.scope\"=>{:request=>#<Proc:0x007ff47717b6f0@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:43>, :person=>#<Proc:0x007ff47717b5d8@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:62>, :context=>#<Proc:0x007ff47717b240@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:45>}, \"action_dispatch.remote_ip\"=>#<ActionDispatch::RemoteIp::GetIp:0x007ff4771795a8 @env={...}, @middleware=#<ActionDispatch::RemoteIp:0x007ff473d9b2e0 @app=#<Rack::Sendfile:0x007ff473d9b330 @app=#<ActionDispatch::Callbacks:0x007ff473d9b3d0 @app=#<ActionDispatch::Cookies:0x007ff473d9b448 @app=#<ActionDispatch::Session::CookieStore:0x007ff473da02b8 @secrets=[\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\"], @coder=#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>, @app=#<ActionDispatch::Flash:0x007ff473da03a8 @app=#<ActionDispatch::ParamsParser:0x007ff473da0628 @app=#<ActionDispatch::Head:0x007ff473da07b8 @app=#<Rack::ConditionalGet:0x007ff473da0808 @app=#<Rack::ETag:0x007ff473da0858 @app=#<ActionDispatch::BestStandardsSupport:0x007ff473da0998 @app=#<Warden::Manager:0x007ff473779c90 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{:_all=>[:password, :api_authentication]}, :intercept_401=>true, :failure_app=>SessionsController}, @app=#<ActionDispatch::Routing::RouteSet:0x007ff473fda2e0>>, @header=\"IE=Edge,chrome=1\">, @cache_control=\"max-age=0, private, must-revalidate\", @no_cache_control=\"no-cache\">>>, @parsers={#<Mime::Type:0x007ff476913f58 @synonyms=[\"text/x-json\", \"application/jsonrequest\"], @symbol=:json, @string=\"application/json\">=>:json}>>, @default_options={:path=>\"/\", :domain=>nil, :expire_after=>7 days, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>}, @key=\"_cartodb_session\", @cookie_only=true>>>, @variation=\"X-Sendfile\">, @check_ip=true, @proxies=/\n ^127\\.0\\.0\\.1$ | # localhost\n ^(10 | # private IP 10.x.x.x\n 172\\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255\n 192\\.168 # private IP 192.168.x.x\n )\\.\n /x>, @calculated_ip=false>, \"rack.session\"=>{\"session_id\"=>\"8e32886d791f511d960d7ae9aa4ddfd2\", \"_csrf_token\"=>\"dY6iRmvoxdcc0aP02DWqa+Sx9aP46D9fKq1uFSSOza8=\", \"warden.user.dev.key\"=>\"dev\", \"warden.user.dev.session\"=>{:sec_token=>\"10b9dcdcd79ebaff0940662dbf17dc9e8f0e0fc8\"}}, \"rack.session.options\"=>{:path=>\"/\", :domain=>nil, :expire_after=>7 days, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>, :id=>\"8e32886d791f511d960d7ae9aa4ddfd2\"}, \"rack.request.cookie_hash\"=>{\"_ga\"=>\"GA1.1.1602656446.1462096115\", \"_cartodb_session\"=>\"BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg==--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\"}, \"rack.request.cookie_string\"=>\"_ga=GA1.1.1602656446.1462096115; _cartodb_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg%3D%3D--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\", \"action_dispatch.cookies\"=>#<ActionDispatch::Cookies::CookieJar:0x007ff47716b8e0 @secret=\"71c2b25921b84a1cb21c71503ab8fb23\", @set_cookies={}, @delete_cookies={}, @host=\"localhost\", @secure=false, @closed=false, @cookies={\"_ga\"=>\"GA1.1.1602656446.1462096115\", \"_cartodb_session\"=>\"BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg==--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\"}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x007ff477169ba8 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff47716b8e0 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x007ff477169a40 @secret=\"71c2b25921b84a1cb21c71503ab8fb23\", @digest=\"SHA1\", @serializer=Marshal>>>, \"action_dispatch.request.unsigned_session_cookie\"=>{\"session_id\"=>\"8e32886d791f511d960d7ae9aa4ddfd2\", \"_csrf_token\"=>\"dY6iRmvoxdcc0aP02DWqa+Sx9aP46D9fKq1uFSSOza8=\", \"warden.user.dev.key\"=>\"dev\", \"warden.user.dev.session\"=>{:sec_token=>\"10b9dcdcd79ebaff0940662dbf17dc9e8f0e0fc8\"}}, \"warden\"=>Warden::Proxy:70343973356340 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{:_all=>[:password, :api_authentication]}, :intercept_401=>true, :failure_app=>SessionsController}, \"action_dispatch.request.path_parameters\"=>{:controller=>\"admin/visualizations\", :action=>\"show\", :user_domain=>\"dev\", :id=>\"csv_no_quotes\"}, \"action_controller.instance\"=>#<Admin::VisualizationsController:0x007ff476fa10c8 ...>, \"action_dispatch.request.content_type\"=>nil, \"action_dispatch.request.request_parameters\"=>{}, \"rack.request.query_string\"=>\"\", \"rack.request.query_hash\"=>{}, \"action_dispatch.request.query_parameters\"=>{}, \"action_dispatch.request.parameters\"=>{\"controller\"=>\"admin/visualizations\", \"action\"=>\"show\", \"user_domain\"=>\"dev\", \"id\"=>\"csv_no_quotes\"}, \"action_dispatch.request.formats\"=>[#<Mime::Type:0x007ff476921b80 @synonyms=[\"application/xhtml+xml\"], @symbol=:html, @string=\"text/html\">]}, @request_method=\"GET\", @filtered_parameters={\"controller\"=>\"admin/visualizations\", \"action\"=>\"show\", \"user_domain\"=>\"dev\", \"id\"=>\"csv_no_quotes\"}, @method=\"GET\", @fullpath=\"/user/dev/tables/csv_no_quotes\">, @_response=#<ActionDispatch::Response:0x007ff476fa0f38 @body=[], @header={\"Access-Control-Allow-Origin\"=>\"*\", \"Access-Control-Allow-Methods\"=>\"*\", \"Access-Control-Allow-Headers\"=>\"*\", \"X-Frame-Options\"=>\"DENY\"}, @status=200, @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x007ff476fa0f88 @env={\"SERVER_SOFTWARE\"=>\"thin 1.6.4 codename Gob Bluth\", \"SERVER_NAME\"=>\"localhost\", \"rack.input\"=>#<StringIO:0x007ff4771c2410>, \"rack.version\"=>[1, 0], \"rack.errors\"=>#<IO:<STDERR>>, \"rack.multithread\"=>true, \"rack.multiprocess\"=>false, \"rack.run_once\"=>false, \"REQUEST_METHOD\"=>\"GET\", \"REQUEST_PATH\"=>\"/user/dev/tables/csv_no_quotes\", \"PATH_INFO\"=>\"/user/dev/tables/csv_no_quotes\", \"REQUEST_URI\"=>\"/user/dev/tables/csv_no_quotes\", \"HTTP_VERSION\"=>\"HTTP/1.1\", \"HTTP_HOST\"=>\"localhost:3000\", \"HTTP_CONNECTION\"=>\"keep-alive\", \"HTTP_CACHE_CONTROL\"=>\"max-age=0\", \"HTTP_ACCEPT\"=>\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\", \"HTTP_UPGRADE_INSECURE_REQUESTS\"=>\"1\", \"HTTP_USER_AGENT\"=>\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\", \"HTTP_ACCEPT_ENCODING\"=>\"gzip, deflate, sdch\", \"HTTP_ACCEPT_LANGUAGE\"=>\"zh-CN,zh;q=0.8,en;q=0.6\", \"HTTP_COOKIE\"=>\"_ga=GA1.1.1602656446.1462096115; _cartodb_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg%3D%3D--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\", \"HTTP_IF_NONE_MATCH\"=>\"\\\"01e0434058da90c090167e8c32e46ae0\\\"\", \"GATEWAY_INTERFACE\"=>\"CGI/1.2\", \"SERVER_PORT\"=>\"3000\", \"QUERY_STRING\"=>\"\", \"SERVER_PROTOCOL\"=>\"HTTP/1.1\", \"rack.url_scheme\"=>\"http\", \"SCRIPT_NAME\"=>\"\", \"REMOTE_ADDR\"=>\"127.0.0.1\", \"async.callback\"=>#<Method: Thin::Connection#post_process>, \"async.close\"=>#<EventMachine::DefaultDeferrable:0x007ff477198ef8>, \"ORIGINAL_FULLPATH\"=>\"/user/dev/tables/csv_no_quotes\", \"action_dispatch.routes\"=>#<ActionDispatch::Routing::RouteSet:0x007ff473fda2e0>, \"action_dispatch.parameter_filter\"=>[:password], \"action_dispatch.secret_token\"=>\"71c2b25921b84a1cb21c71503ab8fb23\", \"action_dispatch.show_exceptions\"=>true, \"action_dispatch.show_detailed_exceptions\"=>true, \"action_dispatch.logger\"=>#<ActiveSupport::TaggedLogging:0x007ff476903040 @logger=#<ActiveSupport::BufferedLogger:0x007ff4769035e0 @log_dest=#<File:/Users/wujunhong/cartodb/cartodb/log/development.log>, @log=#<Logger:0x007ff4769034f0 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007ff476903428 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x007ff476903270 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007ff476903388 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/wujunhong/cartodb/cartodb/log/development.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x007ff476903298>>>>>, \"action_dispatch.backtrace_cleaner\"=>#<Rails::BacktraceCleaner:0x007ff477184340 @filters=[#<Proc:0x007ff477184278@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x007ff477184250@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x007ff477184228@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x007ff47716f8c8@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x007ff47716f8a0@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:15>]>, \"action_dispatch.request_id\"=>\"dd5a78e7eb6f3235c11ade1b25380251\", \"rollbar.scope\"=>{:request=>#<Proc:0x007ff47717b6f0@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:43>, :person=>#<Proc:0x007ff47717b5d8@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:62>, :context=>#<Proc:0x007ff47717b240@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:45>}, \"action_dispatch.remote_ip\"=>#<ActionDispatch::RemoteIp::GetIp:0x007ff4771795a8 @env={...}, @middleware=#<ActionDispatch::RemoteIp:0x007ff473d9b2e0 @app=#<Rack::Sendfile:0x007ff473d9b330 @app=#<ActionDispatch::Callbacks:0x007ff473d9b3d0 @app=#<ActionDispatch::Cookies:0x007ff473d9b448 @app=#<ActionDispatch::Session::CookieStore:0x007ff473da02b8 @secrets=[\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\"], @coder=#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>, @app=#<ActionDispatch::Flash:0x007ff473da03a8 @app=#<ActionDispatch::ParamsParser:0x007ff473da0628 @app=#<ActionDispatch::Head:0x007ff473da07b8 @app=#<Rack::ConditionalGet:0x007ff473da0808 @app=#<Rack::ETag:0x007ff473da0858 @app=#<ActionDispatch::BestStandardsSupport:0x007ff473da0998 @app=#<Warden::Manager:0x007ff473779c90 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{:_all=>[:password, :api_authentication]}, :intercept_401=>true, :failure_app=>SessionsController}, @app=#<ActionDispatch::Routing::RouteSet:0x007ff473fda2e0>>, @header=\"IE=Edge,chrome=1\">, @cache_control=\"max-age=0, private, must-revalidate\", @no_cache_control=\"no-cache\">>>, @parsers={#<Mime::Type:0x007ff476913f58 @synonyms=[\"text/x-json\", \"application/jsonrequest\"], @symbol=:json, @string=\"application/json\">=>:json}>>, @default_options={:path=>\"/\", :domain=>nil, :expire_after=>7 days, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>}, @key=\"_cartodb_session\", @cookie_only=true>>>, @variation=\"X-Sendfile\">, @check_ip=true, @proxies=/\n ^127\\.0\\.0\\.1$ | # localhost\n ^(10 | # private IP 10.x.x.x\n 172\\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255\n 192\\.168 # private IP 192.168.x.x\n )\\.\n /x>, @calculated_ip=false>, \"rack.session\"=>{\"session_id\"=>\"8e32886d791f511d960d7ae9aa4ddfd2\", \"_csrf_token\"=>\"dY6iRmvoxdcc0aP02DWqa+Sx9aP46D9fKq1uFSSOza8=\", \"warden.user.dev.key\"=>\"dev\", \"warden.user.dev.session\"=>{:sec_token=>\"10b9dcdcd79ebaff0940662dbf17dc9e8f0e0fc8\"}}, \"rack.session.options\"=>{:path=>\"/\", :domain=>nil, :expire_after=>7 days, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>, :id=>\"8e32886d791f511d960d7ae9aa4ddfd2\"}, \"rack.request.cookie_hash\"=>{\"_ga\"=>\"GA1.1.1602656446.1462096115\", \"_cartodb_session\"=>\"BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg==--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\"}, \"rack.request.cookie_string\"=>\"_ga=GA1.1.1602656446.1462096115; _cartodb_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg%3D%3D--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\", \"action_dispatch.cookies\"=>#<ActionDispatch::Cookies::CookieJar:0x007ff47716b8e0 @secret=\"71c2b25921b84a1cb21c71503ab8fb23\", @set_cookies={}, @delete_cookies={}, @host=\"localhost\", @secure=false, @closed=false, @cookies={\"_ga\"=>\"GA1.1.1602656446.1462096115\", \"_cartodb_session\"=>\"BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg==--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\"}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x007ff477169ba8 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff47716b8e0 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x007ff477169a40 @secret=\"71c2b25921b84a1cb21c71503ab8fb23\", @digest=\"SHA1\", @serializer=Marshal>>>, \"action_dispatch.request.unsigned_session_cookie\"=>{\"session_id\"=>\"8e32886d791f511d960d7ae9aa4ddfd2\", \"_csrf_token\"=>\"dY6iRmvoxdcc0aP02DWqa+Sx9aP46D9fKq1uFSSOza8=\", \"warden.user.dev.key\"=>\"dev\", \"warden.user.dev.session\"=>{:sec_token=>\"10b9dcdcd79ebaff0940662dbf17dc9e8f0e0fc8\"}}, \"warden\"=>Warden::Proxy:70343973356340 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{:_all=>[:password, :api_authentication]}, :intercept_401=>true, :failure_app=>SessionsController}, \"action_dispatch.request.path_parameters\"=>{:controller=>\"admin/visualizations\", :action=>\"show\", :user_domain=>\"dev\", :id=>\"csv_no_quotes\"}, \"action_controller.instance\"=>#<Admin::VisualizationsController:0x007ff476fa10c8 ...>, \"action_dispatch.request.content_type\"=>nil, \"action_dispatch.request.request_parameters\"=>{}, \"rack.request.query_string\"=>\"\", \"rack.request.query_hash\"=>{}, \"action_dispatch.request.query_parameters\"=>{}, \"action_dispatch.request.parameters\"=>{\"controller\"=>\"admin/visualizations\", \"action\"=>\"show\", \"user_domain\"=>\"dev\", \"id\"=>\"csv_no_quotes\"}, \"action_dispatch.request.formats\"=>[#<Mime::Type:0x007ff476921b80 @synonyms=[\"application/xhtml+xml\"], @symbol=:html, @string=\"text/html\">]}, @request_method=\"GET\", @filtered_parameters={\"controller\"=>\"admin/visualizations\", \"action\"=>\"show\", \"user_domain\"=>\"dev\", \"id\"=>\"csv_no_quotes\"}, @method=\"GET\", @fullpath=\"/user/dev/tables/csv_no_quotes\">>, @_env={\"SERVER_SOFTWARE\"=>\"thin 1.6.4 codename Gob Bluth\", \"SERVER_NAME\"=>\"localhost\", \"rack.input\"=>#<StringIO:0x007ff4771c2410>, \"rack.version\"=>[1, 0], \"rack.errors\"=>#<IO:<STDERR>>, \"rack.multithread\"=>true, \"rack.multiprocess\"=>false, \"rack.run_once\"=>false, \"REQUEST_METHOD\"=>\"GET\", \"REQUEST_PATH\"=>\"/user/dev/tables/csv_no_quotes\", \"PATH_INFO\"=>\"/user/dev/tables/csv_no_quotes\", \"REQUEST_URI\"=>\"/user/dev/tables/csv_no_quotes\", \"HTTP_VERSION\"=>\"HTTP/1.1\", \"HTTP_HOST\"=>\"localhost:3000\", \"HTTP_CONNECTION\"=>\"keep-alive\", \"HTTP_CACHE_CONTROL\"=>\"max-age=0\", \"HTTP_ACCEPT\"=>\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\", \"HTTP_UPGRADE_INSECURE_REQUESTS\"=>\"1\", \"HTTP_USER_AGENT\"=>\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36\", \"HTTP_ACCEPT_ENCODING\"=>\"gzip, deflate, sdch\", \"HTTP_ACCEPT_LANGUAGE\"=>\"zh-CN,zh;q=0.8,en;q=0.6\", \"HTTP_COOKIE\"=>\"_ga=GA1.1.1602656446.1462096115; _cartodb_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg%3D%3D--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\", \"HTTP_IF_NONE_MATCH\"=>\"\\\"01e0434058da90c090167e8c32e46ae0\\\"\", \"GATEWAY_INTERFACE\"=>\"CGI/1.2\", \"SERVER_PORT\"=>\"3000\", \"QUERY_STRING\"=>\"\", \"SERVER_PROTOCOL\"=>\"HTTP/1.1\", \"rack.url_scheme\"=>\"http\", \"SCRIPT_NAME\"=>\"\", \"REMOTE_ADDR\"=>\"127.0.0.1\", \"async.callback\"=>#<Method: Thin::Connection#post_process>, \"async.close\"=>#<EventMachine::DefaultDeferrable:0x007ff477198ef8>, \"ORIGINAL_FULLPATH\"=>\"/user/dev/tables/csv_no_quotes\", \"action_dispatch.routes\"=>#<ActionDispatch::Routing::RouteSet:0x007ff473fda2e0>, \"action_dispatch.parameter_filter\"=>[:password], \"action_dispatch.secret_token\"=>\"71c2b25921b84a1cb21c71503ab8fb23\", \"action_dispatch.show_exceptions\"=>true, \"action_dispatch.show_detailed_exceptions\"=>true, \"action_dispatch.logger\"=>#<ActiveSupport::TaggedLogging:0x007ff476903040 @logger=#<ActiveSupport::BufferedLogger:0x007ff4769035e0 @log_dest=#<File:/Users/wujunhong/cartodb/cartodb/log/development.log>, @log=#<Logger:0x007ff4769034f0 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007ff476903428 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x007ff476903270 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x007ff476903388 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<File:/Users/wujunhong/cartodb/cartodb/log/development.log>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x007ff476903298>>>>>, \"action_dispatch.backtrace_cleaner\"=>#<Rails::BacktraceCleaner:0x007ff477184340 @filters=[#<Proc:0x007ff477184278@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x007ff477184250@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x007ff477184228@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x007ff47716f8c8@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x007ff47716f8a0@/usr/local/lib/ruby/gems/2.3.0/gems/railties-3.2.22/lib/rails/backtrace_cleaner.rb:15>]>, \"action_dispatch.request_id\"=>\"dd5a78e7eb6f3235c11ade1b25380251\", \"rollbar.scope\"=>{:request=>#<Proc:0x007ff47717b6f0@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:43>, :person=>#<Proc:0x007ff47717b5d8@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:62>, :context=>#<Proc:0x007ff47717b240@/usr/local/lib/ruby/gems/2.3.0/gems/rollbar-2.11.1/lib/rollbar/middleware/rails/rollbar.rb:45>}, \"action_dispatch.remote_ip\"=>#<ActionDispatch::RemoteIp::GetIp:0x007ff4771795a8 @env={...}, @middleware=#<ActionDispatch::RemoteIp:0x007ff473d9b2e0 @app=#<Rack::Sendfile:0x007ff473d9b330 @app=#<ActionDispatch::Callbacks:0x007ff473d9b3d0 @app=#<ActionDispatch::Cookies:0x007ff473d9b448 @app=#<ActionDispatch::Session::CookieStore:0x007ff473da02b8 @secrets=[\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\"], @coder=#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>, @app=#<ActionDispatch::Flash:0x007ff473da03a8 @app=#<ActionDispatch::ParamsParser:0x007ff473da0628 @app=#<ActionDispatch::Head:0x007ff473da07b8 @app=#<Rack::ConditionalGet:0x007ff473da0808 @app=#<Rack::ETag:0x007ff473da0858 @app=#<ActionDispatch::BestStandardsSupport:0x007ff473da0998 @app=#<Warden::Manager:0x007ff473779c90 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{:_all=>[:password, :api_authentication]}, :intercept_401=>true, :failure_app=>SessionsController}, @app=#<ActionDispatch::Routing::RouteSet:0x007ff473fda2e0>>, @header=\"IE=Edge,chrome=1\">, @cache_control=\"max-age=0, private, must-revalidate\", @no_cache_control=\"no-cache\">>>, @parsers={#<Mime::Type:0x007ff476913f58 @synonyms=[\"text/x-json\", \"application/jsonrequest\"], @symbol=:json, @string=\"application/json\">=>:json}>>, @default_options={:path=>\"/\", :domain=>nil, :expire_after=>7 days, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>}, @key=\"_cartodb_session\", @cookie_only=true>>>, @variation=\"X-Sendfile\">, @check_ip=true, @proxies=/\n ^127\\.0\\.0\\.1$ | # localhost\n ^(10 | # private IP 10.x.x.x\n 172\\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255\n 192\\.168 # private IP 192.168.x.x\n )\\.\n /x>, @calculated_ip=false>, \"rack.session\"=>{\"session_id\"=>\"8e32886d791f511d960d7ae9aa4ddfd2\", \"_csrf_token\"=>\"dY6iRmvoxdcc0aP02DWqa+Sx9aP46D9fKq1uFSSOza8=\", \"warden.user.dev.key\"=>\"dev\", \"warden.user.dev.session\"=>{:sec_token=>\"10b9dcdcd79ebaff0940662dbf17dc9e8f0e0fc8\"}}, \"rack.session.options\"=>{:path=>\"/\", :domain=>nil, :expire_after=>7 days, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>\"3fd81eda4310024b8990be5353243c28d678554951809680a3f8b212aa6d\", :coder=>#<Rack::Session::Cookie::Base64::Marshal:0x007ff473d9bba0>, :id=>\"8e32886d791f511d960d7ae9aa4ddfd2\"}, \"rack.request.cookie_hash\"=>{\"_ga\"=>\"GA1.1.1602656446.1462096115\", \"_cartodb_session\"=>\"BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg==--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\"}, \"rack.request.cookie_string\"=>\"_ga=GA1.1.1602656446.1462096115; _cartodb_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg%3D%3D--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\", \"action_dispatch.cookies\"=>#<ActionDispatch::Cookies::CookieJar:0x007ff47716b8e0 @secret=\"71c2b25921b84a1cb21c71503ab8fb23\", @set_cookies={}, @delete_cookies={}, @host=\"localhost\", @secure=false, @closed=false, @cookies={\"_ga\"=>\"GA1.1.1602656446.1462096115\", \"_cartodb_session\"=>\"BAh7CUkiD3Nlc3Npb25faWQGOgZFVEkiJThlMzI4ODZkNzkxZjUxMWQ5NjBkN2FlOWFhNGRkZmQyBjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMWRZNmlSbXZveGRjYzBhUDAyRFdxYStTeDlhUDQ2RDlmS3ExdUZTU096YTg9BjsARkkiGHdhcmRlbi51c2VyLmRldi5rZXkGOwBUSSIIZGV2BjsAVEkiHHdhcmRlbi51c2VyLmRldi5zZXNzaW9uBjsAVHsGOg5zZWNfdG9rZW5JIi0xMGI5ZGNkY2Q3OWViYWZmMDk0MDY2MmRiZjE3ZGM5ZThmMGUwZmM4BjsARg==--48e2cb21fc3e55c55f8acc90ccbe6879a280e71b\"}, @signed=#<ActionDispatch::Cookies::SignedCookieJar:0x007ff477169ba8 @parent_jar=#<ActionDispatch::Cookies::CookieJar:0x007ff47716b8e0 ...>, @verifier=#<ActiveSupport::MessageVerifier:0x007ff477169a40 @secret=\"71c2b25921b84a1cb21c71503ab8fb23\", @digest=\"SHA1\", @serializer=Marshal>>>, \"action_dispatch.request.unsigned_session_cookie\"=>{\"session_id\"=>\"8e32886d791f511d960d7ae9aa4ddfd2\", \"_csrf_token\"=>\"dY6iRmvoxdcc0aP02DWqa+Sx9aP46D9fKq1uFSSOza8=\", \"warden.user.dev.key\"=>\"dev\", \"warden.user.dev.session\"=>{:sec_token=>\"10b9dcdcd79ebaff0940662dbf17dc9e8f0e0fc8\"}}, \"warden\"=>Warden::Proxy:70343973356340 @config={:default_scope=>:default, :scope_defaults=>{}, :default_strategies=>{:_all=>[:password, :api_authentication]}, :intercept_401=>true, :failure_app=>SessionsController}, \"action_dispatch.request.path_parameters\"=>{:controller=>\"admin/visualizations\", :action=>\"show\", :user_domain=>\"dev\", :id=>\"csv_no_quotes\"}, \"action_controller.instance\"=>#<Admin::VisualizationsController:0x007ff476fa10c8 ...>, \"action_dispatch.request.content_type\"=>nil, \"action_dispatch.request.request_parameters\"=>{}, \"rack.request.query_string\"=>\"\", \"rack.request.query_hash\"=>{}, \"action_dispatch.request.query_parameters\"=>{}, \"action_dispatch.request.parameters\"=>{\"controller\"=>\"admin/visualizations\", \"action\"=>\"show\", \"user_domain\"=>\"dev\", \"id\"=>\"csv_no_quotes\"}, \"action_dispatch.request.formats\"=>[#<Mime::Type:0x007ff476921b80 @synonyms=[\"application/xhtml+xml\"], @symbol=:html, @string=\"text/html\">]}, @_prefixes=[\"admin/visualizations\", \"admin/admin\", \"application\"], @_lookup_context=#<ActionView::LookupContext:0x007ff476fa0998 @details_key=nil, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}, @skip_default_locale=false, @cache=true, @prefixes=[\"admin/visualizations\", \"admin/admin\", \"application\"], @rendered_format=nil, @view_paths=#<ActionView::PathSet:0x007ff476fa08f8 @paths=[#<ActionView::OptimizedFileSystemResolver:0x007ff476878198 @pattern=\":prefix/:action{.:locale,}{.:formats,}{.:handlers,}\", @cached={}, @path=\"/Users/wujunhong/cartodb/cartodb/app/views\">]>>, @_action_name=\"show\", @_response_body=nil, @_config={}, @_params={\"controller\"=>\"admin/visualizations\", \"action\"=>\"show\", \"user_domain\"=>\"dev\", \"id\"=>\"csv_no_quotes\"}, @table_id=\"csv_no_quotes\", @schema=nil, @visualization=#<Carto::Admin::VisualizationPublicMapAdapter:0x007ff474369b90 ...>, @table=#<Table:0x007ff4744acb38 @user_table=#<Carto::UserTable name: \"csv_no_quotes\", privacy: 0, updated_at: \"2016-05-09 11:14:12\", tags: nil, geometry_columns: nil, rows_counted: 0, rows_estimated: 0, indexes: nil, database_name: nil, description: nil, table_id: 57076, id: \"36713771-8ec0-4dca-a4b6-a02b5297d233\", user_id: \"e282cdf9-d2cc-4201-97c0-35b645dc8038\", map_id: \"8eb8e2e9-1fd7-45e8-ba45-9c738e98d1b9\", data_import_id: \"319fdea9-f6c6-4c56-b470-cd4f3716c674\">>, @more_visualizations=[], @google_maps_query_string=nil, @basemaps={\"CartoDB\"=>{\"positron_rainbow_labels\"=>{\"default\"=>true, \"url\"=>\"http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Positron\", \"className\"=>\"positron_rainbow_labels\", \"attribution\"=>\"© <a href=\\\"http://www.openstreetmap.org/copyright\\\">OpenStreetMap</a> contributors © <a href=\\\"https://cartodb.com/attributions\\\">CartoDB</a>\", \"labels\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png\"}}, \"dark_matter_rainbow_labels\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Dark matter\", \"className\"=>\"dark_matter_rainbow_labels\", \"attribution\"=>\"© <a href=\\\"http://www.openstreetmap.org/copyright\\\">OpenStreetMap</a> contributors © <a href=\\\"https://cartodb.com/attributions\\\">CartoDB</a>\", \"labels\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}.png\"}}, \"positron_rainbow\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Positron (labels below)\", \"className\"=>\"positron_rainbow\", \"attribution\"=>\"© <a href=\\\"http://www.openstreetmap.org/copyright\\\">OpenStreetMap</a> contributors © <a href=\\\"https://cartodb.com/attributions\\\">CartoDB</a>\"}, \"dark_matter_rainbow\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Dark matter (labels below)\", \"className\"=>\"dark_matter_rainbow\", \"attribution\"=>\"© <a href=\\\"http://www.openstreetmap.org/copyright\\\">OpenStreetMap</a> contributors © <a href=\\\"https://cartodb.com/attributions\\\">CartoDB</a>\"}, \"positron_lite_rainbow\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Positron (lite)\", \"className\"=>\"positron_lite_rainbow\", \"attribution\"=>\"© <a href=\\\"http://www.openstreetmap.org/copyright\\\">OpenStreetMap</a> contributors © <a href=\\\"https://cartodb.com/attributions\\\">CartoDB</a>\"}, \"dark_matter_lite_rainbow\"=>{\"url\"=>\"http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Dark matter (lite)\", \"className\"=>\"dark_matter_lite_rainbow\", \"attribution\"=>\"© <a href=\\\"http://www.openstreetmap.org/copyright\\\">OpenStreetMap</a> contributors © <a href=\\\"https://cartodb.com/attributions\\\">CartoDB</a>\"}, \"eco_cartodb\"=>{\"url\"=>\"https://cartocdn_{s}.global.ssl.fastly.net/base-antique/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"10\", \"name\"=>\"CartoDB World Eco\", \"className\"=>\"eco_cartodb\", \"attribution\"=>\"\"}, \"flat_blue\"=>{\"url\"=>\"https://cartocdn_{s}.global.ssl.fastly.net/base-flatblue/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"10\", \"name\"=>\"CartoDB World Flat Blue\", \"className\"=>\"flat_blue\", \"attribution\"=>\"\"}, \"midnight_cartodb\"=>{\"url\"=>\"https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"10\", \"name\"=>\"CartoDB World Midnight Commander\", \"className\"=>\"midnight_cartodb\", \"attribution\"=>\"\"}}, \"Stamen\"=>{\"toner_stamen_labels\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Toner\", \"className\"=>\"toner_stamen_labels\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\", \"labels\"=>{\"url\"=>\"http://{s}.tile.stamen.com/toner-labels/{z}/{x}/{y}.png\"}}, \"toner_stamen\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Toner (labels below)\", \"className\"=>\"toner_stamen\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\"}, \"toner_background_stamen\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Toner Background\", \"className\"=>\"toner_background_stamen\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\"}, \"toner_lite_stamen\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Toner Lite\", \"className\"=>\"toner_lite_stamen\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\"}, \"toner_lines_stamen\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lines/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Toner Lines\", \"className\"=>\"toner_lines_stamen\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\"}, \"toner_hybrid_stamen\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/toner-hybrid/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Toner Hybrid\", \"className\"=>\"toner_hybrid_stamen\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\"}, \"watercolor_stamen\"=>{\"url\"=>\"https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png\", \"subdomains\"=>\"abcd\", \"minZoom\"=>\"0\", \"maxZoom\"=>\"18\", \"name\"=>\"Watercolor\", \"className\"=>\"watercolor_stamen\", \"attribution\"=>\"Map tiles by <a href=\\\"http://stamen.com\\\">Stamen Design</a>, under <a href=\\\"http://creativecommons.org/licenses/by/3.0\\\">CC BY 3.0</a>. Data by <a href=\\\"http://openstreetmap.org\\\">OpenStreetMap</a>, under <a href=\\\"http://www.openstreetmap.org/copyright\\\">ODbL</a>.\"}}}>>

javitonino commented 7 years ago

This is an old ticket and recently we have done a lot of improvement in the get_related_tables method and friends.

Closing for now, feel free to reopen if this is still an issue.