I would disagree. Private methods are a great way to separate API calls from business logic. Also private methods shouldn't be tested - they are used by the classes own public methods which are the ones that need to be tested. That way it's easy to refactor code without wrecking havoc, since private methods can change all the time. That's their purpose after all.
There is a lot of usefull stuff written at the docs: http://www.sublimetext.com/docs/2/
It's really easy to do that with NewRelic. Just set up availability checking :)
There is always git reflog
Use a gem called bullet It will tell you when to use it and when you are just throwing performance away using it ;)
Now that they have their own CDN I would actually recommend using that instead ;)
I'm a heavy user of Alfred (and you should be too) and I remaped Caps Lock to F16 which fires up Alfed. You do need some software to do app, like PCKeyboardHack
I use the one that has all the package managers (since I do Obj-C too) and is really nice. Package Managers
Fix typo uncoped -> unscoped. Also should be noted that default_scope is bad practice
Then there is Postgress.app
Just FYI - if you are building just API, take a look at rails-api
Divvy FTW http://mizage.com/divvy/
I don't have an answer because I don't know Django, but you might find StackOverflow better fitted for your question. The platform is made for questions like this, while CoderWall is more of a share-your-protip kinda platform.
Yes but if you bind directly to the element and it does not exist it will not bound to it if it is created in the future. That's why I suggested document and then selector as a parameter which will go the delegation way.
The .on() part is actually not true anymore, read the docs: Event handlers are bound only to the currently selected elements; they must exist on the page at the time your code makes the call to .on().
That said, you could bind events to document and then as the first parameter send in the selector. This is NOT a best practice but will do it's job.
There is an unwanted space between --abbrev-c and ommit, it should be --abbrev-commit
You do know that GitHub provides all this URLs nicely in the sidebar, right?
@pravinsb oh, didn't know that. I switched to postgres about a year ago and I love it.
I don't really understand what you are saying but you might find my library for WordPress meta boxes useful: https://github.com/mrfoto/mr-meta-box
If you do counting a lot you should cache it with counter_cache http://railscasts.com/episodes/23-counter-cache-column
It's really not that hard. You just need Xcode Command Line Tools, RVM and rubygems. This is an excellent guide: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/
Oh my god, I wanna kiss you now :D I've been banging my head all day with this and I had no clue where to look at. THANK YOU!!!
Wow, that's great news :D Glad to help :)