10 Feb '13, 10pm

Gemfile Best Practices & Discourse #ruby #rails #discourse

This weekend I did some Boy Scouting on the newly released Discourse project . The Boy Scout Rule says: You should always leave the campground cleaner than you found it. Discourse is a Rails project, which means it has a nice fat, juicy Gemfile listing all of its dependencies. The Gemfile tends to be the first thing I look at in an unfamiliar Rails project in order to get a quick mental overview of what makes up the application and if it’s using any custom forks or private libraries. Over the years, I’ve come to form a set of best practices for the general organization of Gemfiles that I think are very useful when on-boarding new developers and keeping order in your Gemfile. Consistent use of Ruby hash syntax. Use either the old hashrocket or the new Ruby 1.9 syntax, but not both. Consistent use of a single quoted delimiter. Use either apostrophes or quotation marks, but n...

Full article: http://mcdowall.info/posts/gemfile-best-practices-and-dis...

Tweets

A blog post about the decisions I made when ref...

grantammons.me 10 Feb '13, 9pm

class TopicsController def show @topic_view = TopicView.new(params[:id] || params[:topic_id], current_user, username_filte...

A Casual Stroll Through Discourse's Source Code

rubyflow.com 12 Feb '13, 2pm

A Casual Stroll Through Discourse's Source Code Posted by jerodsanto on February 12, 2013 — 0 comments Discourse is a new,...

Responsive Design & Mobile SEO: Best Practices for 2013

Responsive Design & Mobile SEO: Best Practices ...

searchenginejournal.com 11 Feb '13, 5pm

It has always been a matter of faith that a well-designed, information-rich website will attract both visitors and links. ...

You can follow just my posts on @thechangelog to get the best Ruby, Rails, (hopefully) Ember, and Rust news,

You can follow just my posts on @thechangelog t...

thechangelog.com 10 Feb '13, 7pm

Wayne Seguin is the only Rubyist I know that’s not really known for writing Ruby. When writing RVM, Wayne built it in Bash...

Discourse looks awesome! And it's Ruby on Rails and Ember.js! Another awesome project to hack on:

Discourse looks awesome! And it's Ruby on Rails...

discourse.org 05 Feb '13, 10pm

Conversations, not pages Why break conversations into awkward and arbitrary pages, where you have to constantly find the N...

The Best Bet

The Best Bet

nymag.com 11 Feb '13, 4am

his season, it’s out with the wildly embellished clutch and in with the muted and demure handbag. But before you mistake G...

Open Source, Modern And Ruby on Rails-Powered Discussion Platform – Discourse

Open Source, Modern And Ruby on Rails-Powered D...

webresourcesdepot.com 06 Feb '13, 9am

Forums used to be (and maybe still) the most standard place online where users discuss. They are evolving in many ways wit...

Best practices for multicore programming.

edn.com 19 Feb '13, 8pm

Software "best practices" are often a combination of personal experience, corporate knowledge, group-think, and even custo...

#golf commercials are pretty great these days. Here's a look at some of the best out there:

#golf commercials are pretty great these days. ...

pga.com 13 Feb '13, 2pm

2. Kikkor Golf's, "Be yourself. Be awesome." James Lepp, the founder of Kikkor and a recent finalist on the Golf Channel's...

@ono_matope スクリプトの中で require 'bundler/setup' すれ...

gembundler.com 11 Feb '13, 9am

Configure the load path so all dependencies in your Gemfile can be required require " rubygems" require " bundler/setup" r...

Discourse - A Ruby on Rails-Powered Discussion ...

scriptsunited.de 06 Feb '13, 7pm

Herzlich Willkommen auf Scripts United. Hier bieten wir Euch ständig aktualisierte und mit deutscher Kurzbeschreibung doku...

How Google’s Mobile Best Practices Can Slow You...

searchenginewatch.com 21 Feb '13, 12pm

It isn’t uncommon to hear that Google has made a mistake. It is, however, rare to discover that buried deep within Google’...

Possibly the best website ever

Possibly the best website ever

nicecupofteaandasitdown.com 15 Feb '13, 8am

Tea drinkers don't tend to have moderate and liberal views on tea. We all like it the way we like it, whichever way that m...