Skip to content

2.0.0

Latest

Choose a tag to compare

@palkan palkan released this 10 Jan 23:09
· 6 commits to main since this release
2c28506

Changes

  • Ruby 3+ and Rails 7+ are required

  • Changed inline templates interface:

    # BEFORE:
    def method_with_a_template
      a = "foo"
    
      erb
      # <div><%= a %></div>
    end
    
    # AFTER:
    def method_with_a_template
      a = "foo"
    
      erb(a:) { "<div><%= a %></div>" }
    end