You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
json tips:@tips.map do |tip|
View::Tip.new(tip)
end
7. def render_to_application_json(io : IO)
> 8. ({tips: @tips.map}).to_json(io)
9. end
'Array(Models::Tip)#map' is expected to be invoked with a block, but no block was given
Activity
fix (View): properly handle inline blocks
vladfaust commentedon May 13, 2019
Also doesn't work for
vladfaust commentedon May 28, 2019
Should put more thought into it. Given:
What if I just wanted to add
builderblock arg?