scss.tmbundle

https://github.com/marioricalde/scss.tmbundle

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.

Snippet.search_code

Searches for snippets with matching content.

This method uses ILIKE on PostgreSQL and LIKE on MySQL.

query - The search query as a String.

Returns an ActiveRecord::Relation.

Source | Google | Stack overflow

Edit

git clone [email protected]:marioricalde/scss.tmbundle.git

cd scss.tmbundle

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Snippet-search_code-for-pr


# Commit to git

git add git commit -m "better docs for Snippet.search_code"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Snippet-search_code-for-pr

hub pull-request


# Celebrate!