Archives - 11 October 2013, Friday

Engine Yard has posted their statement about ending sponsorship for Rubinius, which gives me the opportunity to clearly address the future of Rubinius. First of all, Engine Yard deserves great respect and admiration for their contribution to Rubinius and the entire Ruby community. I h...

True story: I used to be pretty good about inbox zero. Then I started using iPhones and iPads. The email apps sucked compared to Gmail, so I got in the habit of leaving stuff in my iOS inboxes until I could go into Gmail on the web and clean them up. Then I got bad at inbox zero. Toda...

Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and maintenance more difficult. However, if your database is used by other applications, it may be a good idea to use some constraints at the database level. Additional...

If true, destroys any members from the attributes hash with a _destroy key and a value that evaluates to true (eg. 1, ‘1’, true, or ‘true’). This option is off by default. :reject_if Allows you to specify a Proc or a Symbol pointing to a method that checks whether a record should be b...

When writing web applications, or any application for that manner, any passwords should be stored securely. As a rule of thumb, one should never store passwords as clear text in the database for the following reasons: If the database ever gets leaked out, then all accounts are comprom...

Related:

A few weeks back, we publicly released the Gauges API . Despite building Gauges from the ground up as an API , it was a lot of work. You really have to cross your t’s and dot your i’s when releasing an API . 1. Document as You Build We made the mistake of documenting after most of the...

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...

Sprockets uses manifest files to determine which assets to include and serve. These manifest files contain directives — instructions that tell Sprockets which files to require in order to build a single CSS or JavaScript file. With these directives, Sprockets loads the files specified...

To be sure everybody starts getting prepared: Rubyconf Brasil 2014 is already confirmed with venue and dates. It's going to be August 28th and 29th, 2014. The venue will the Frei Caneca Theater, just like 2013. We were checking new locations, but the difficulties in closer restaurants...

This code is much more concise, but perhaps not as clear. However, for the problem Ryan and I were dealing with on Friday, we couldn't use numbers: we needed to use keywords. We had two states: ":checked" and ":unchecked" and possibly nil. We needed a clear, concise way to toggle betw...