scss.tmbundle

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

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.

Project.public_or_visible_to_user

Returns a collection of projects that is either public or visible to the
logged in user.

A caller may pass in a block to modify individual parts of
the query, e.g. to apply .with_feature_available_for_user on top of it.
This is useful for performance as we can stick those additional filters
at the bottom of e.g. the UNION.

Optionally, turning `use_where_in` off leads to returning a
relation using #from instead of #where. This can perform much better
but leads to trouble when used in conjunction with AR's #merge method.

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-Project-public_or_visible_to_user-for-pr


# Commit to git

git add git commit -m "better docs for Project.public_or_visible_to_user"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Project-public_or_visible_to_user-for-pr

hub pull-request


# Celebrate!