A look at how to do inheritance in JavaScript using prototypal inheritance
A look at how to do inheritance in JavaScript using prototypal inheritance
RSpec and Cucumber by default are setup to work with relational databases using ActiveRecord. This has been fine for the most part until so many NoSQL databases have come onto the scene. Let’s focus on getting Cucumber and RSpec working with MongoDB using Mongoid. First you will need to setup your Rails 3 application to [...]
Announcing rails-templater, a Ruby on Rails 3 template to help create a dummy application in a single line.
A tutorial on how to use the new Ruby on Rails 3 generator hooks to create your ideal application. This post focuses on setting up a Rails application with Mongoid, Haml, jQuery, RSpec, and factory_girl.
TextMate is a widely used GUI text editor that many in the Ruby on Rails community use. The editor benefits from a large and active community of users whom develop bundles and plugins that extend TextMate’s functionality to work with a wide variety of languages and libraries. Here are ten of my favourite bundles and [...]
Merge conflicts, they are bound to happen sooner or later when you are working in parallel with a team of developers. When Git cannot automatically merge changes, a merge fails and the conflicted file becomes littered with <<<<<<<, =======, and >>>>>>> markers. To ease the pain of having to performing merges, Git allows using one [...]
A tutorial on how to incorporate Binged in your Ruby on Rails application
Why use Bing for your site? The Bing API does not cost you a single penny to use. It’s completely free! Bing’s biggest competitor, Google Site Search on the other hand can cost you from $100 annually to a price point only known by calling a google sales representative. Looking at the their small business [...]
Migrations in Ruby on Rails allow you to alter your database using a convenient and easy DSL. When I started using Rails, migrations were a breath of fresh air. Database schema were finally easy. No longer did I have to pass SQL scripts to developers to run against their development DB or make a huge [...]
Discover how to handle gem dependencies in Ruby on Rails 3 with this screencast about Bundler