scss.tmbundle

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

The TextMate SCSS Official Bundle. Now Compatible with SublimeText2.

User#update_emails_with_primary_email

Note: the use of the Emails services will cause `saves` on the user object, running
through the callbacks again and can have side effects, such as the `previous_changes`
hash and `_was` variables getting munged.
By using an `after_commit` instead of `after_update`, we avoid the recursive callback
scenario, though it then requires us to use the `previous_changes` hash

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-User-update_emails_with_primary_email-for-pr


# Commit to git

git add git commit -m "better docs for User#update_emails_with_primary_email"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-User-update_emails_with_primary_email-for-pr

hub pull-request


# Celebrate!