--- 
name: SQL (Rails)
fileTypes: 
- erbsql
scopeName: source.sql.ruby
uuid: D54FBDED-5481-4CC7-B75F-66465A499882
foldingStartMarker: \s*\(\s*$
patterns: 
- name: source.ruby.rails.embedded.sql
  begin: <%+(?!>)=?
  end: "%>"
  patterns: 
  - name: comment.line.number-sign.ruby
    match: "#.*?(?=%>)"
  - include: source.ruby.rails
- include: source.sql
foldingStopMarker: ^\s*\)
keyEquivalent: ^~R
