RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: mjcloutier
I haven't touched RoR in a month and getting rusty, took a small break came back to computer and it hit me, the problem was with a haml conversion from html:
WRONG WAY
#tag_cloud = tag_cloud Post.tag_counts, %w[css1 css2 css3 css4] do |tag, css_class| = link_to tag.name, tag_path(tag.name), class: css_class
RIGHT WAY
#tag_cloud - tag_cloud Post.tag_counts, %w[css1 css2 css3 css4] do |tag, css_class| = link_to tag.name, tag_path(tag.name), class: css_class
Can delete my questions to clean up this railscast =)
I haven't touched RoR in a month and getting rusty, took a small break came back to computer and it hit me, the problem was with a haml conversion from html:
WRONG WAY
RIGHT WAY
Can delete my questions to clean up this railscast =)