My take is to use dependency injection when you can, but fall back to monkeypatching when using dependency injection becomes impractical. I also recommend that you not get bent out of shape if someone disagrees with you on this subject ;)
One benefit of using nose is that it can automatically support a wide range of testing APIs. For instance, it works with the unittest testing API as well …
Gitalytics - gem to provide some quick stats on git repo commits.
Spacegray - A set of minimal Sublime Text themes.
Entrepreneur's Guides to Asia - Books to help you start a business in , , , ...16 countries in all. Or one 4500-page eBook covers everything.
Clean Code. "I do not think that word means what you think it means." - Active doesn't really implement the Active Record pattern, you know.
SublimeRubyDebugger - Full scale ruby and rails debugger for Sublime Text.
BlackTie Free Bootstrap Themes - Make your backed site look a bit more distinct.
…easier for me to fumble around trying to build and test a regex compared to doing sample finds in Sublime Text.
QuickRadar - The RadarWeb UI still sucks. QuickRadar makes me more likely to file bugs because it is in my , it can cross-post to OpenRadar , and it has never crashed or lost a bug report while I was trying to submit it.
RESTed : When building or testing an , RESTed comes in handy to see raw output and quickly test input parameters. …
…With Alfred - how to usewith , , Sublime Text, package managers, more.
CodeClimate - quality & security analysis for and . Free for open source projects, solo plan at $ 24/month and teams starting at $ 99/month.
TenXer - using data to make your software engineering team better. These are more process metrics - issues closed, commits logged, net lines of code. If you can get over the "10x" reference …
** Note: for some reason, editing this file in Sublime Text on my computer caused a slew of issues as invisible characters were created (this basically created a huge error and I lost access to everything -- big ups to Lawson for realizing this was the problem and fixing it).
Then, in the httpd configuration file in your Apache Server (I'm using MAMP, so mine is located at Applications/ MAMP/conf/ apache/httpd.conf), add these lines to the end: <VirtualHost *:80> DocumentRoot …
Using 's 'hstore' in A on Cloud
If you want to take advantage of schemaless features without abandoning your relational database, using 'hstore' within Postgres is a great option. Here's an introduction on using the hstore PostgreSQL extension in a Rails.
Implementing and Custom Domain Support in Rails
2 years ago I started using Sublime Text 2 instead of Textmate . It was a relatively painless transition but there was one thing that I used often in that wasn't available in Sublime Text, inserting, toggling and wrapping content in ERB tags.
Since adoption of Sublime Text was relatively new at the time, I decided to scratch my own itch and write a plugin in SublimeERB on …for Sublime Text. After a few of days, I released
My preferred text editor for RubyMine . In advance of the release of the 2nd edition of the Ruby on Rails , last year I released a short book Sublime Text 2 for Rails screencast ; I'm pleased to announce that Justin Gordon ( @ railsonmaui ) has produced a companion RubyMine tips screencast that does a great job of showing off what …development is Sublime Text 2, but I keep hearing great things about
Like I said, it was time to Get Down to Work. I flipped over to Sublime Text 2, where I happened to have a block of text selected. Warming up, I idly hit command-I to search for a bit of text, only to realize that Sublime was only searching in that selected text. This is handy! I've been wanting something like this lately, when a method or variable name shows up all over the file, but I'm only working on one method.
Using the trackpad to select a bunch of text, and then working …