What's the general reccomendation for styling and indentation in ruby when you have a method call, with arguments on multiple lines, and a block. For example
collection :available_surveys,
exec_context: :decorator,
class: Survey,
skip_render: lambda {|object, opts| opts[:show_all_surveys] != true } do
property :name, as: :survey_name
property :id
end
The method is collection, it has 4 arguments spread across multiple lines, and then a block argument. One of my colleagues feels the indentation style above makes the block look like it's tied to the last argument, rather than the collection method. I couldn't find any clear style recommendations on the internet.