You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.[]
81: = facebook_like(current_user?(@listing.author))
82: = link_to("", "https://twitter.com/share", :class => "twitter-share-button", "data-count" => "horizontal", "data-via" => "Sharetribe", "data-related" => "avoinyritys:Our company blog.")
83: %script{:type => "text/javascript", :src => "https://platform.twitter.com/widgets.js"}
84: - if @current_community.settings["use_qr_code"]
85: = link_to(t(".qr_code"), "http://qrcode.kaywa.com/img.php?s=6&d=#{CGI.escape request.url}", :target => '_blank')
86: - if @listing.origin_loc && @listing.origin_loc.address != ""
87: #googlemap
Community.first.settings
=> nil