10 Feb '13, 9pm

A blog post about the decisions I made when refactoring Discourse today: #ruby #rails #discourse

class TopicsController def show @topic_view = TopicView.new(params[:id] || params[:topic_id], current_user, username_filters: params[:username_filters], best_of: params[:best_of], page: params[:page]) # Consider the user for a promotion if they're new if current_user.present? Promotion.new(current_user).review if current_user.trust_level == TrustLevel.Levels[:new] end @topic_view = TopicView.new(params[:id] || params[:topic_id], current_user, username_filters: params[:username_filters], best_of: params[:best_of], page: params[:page]) anonymous_etag(@topic_view.topic) do # force the correct slug if params[:slug] && @topic_view.topic.slug != params[:slug] fullpath = request.fullpath split = fullpath.split('/') split[2] = @topic_view.topic.slug redirect_to split.join('/'), status: 301 return end # Figure out what we're filter on if params[:post_number].present? # Get posts ne...

Full article: http://grantammons.me/2013/02/09/making-some-discourse-co...

Tweets

Gemfile Best Practices & Discourse #ruby #rails...

mcdowall.info 10 Feb '13, 10pm

This weekend I did some Boy Scouting on the newly released Discourse project . The Boy Scout Rule says: You should always ...

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,...

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...

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...

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...

New Blog Post :: Learning Ruby on Rails

New Blog Post :: Learning Ruby on Rails

heatherburke.co.uk 08 Feb '13, 11am

I have been using Ruby on Rails for about 2 years and nowadays I use it for developing almost all of my web applications. ...

StackExchange's Jeff Atwood switches to Ruby on...

reddit.com 06 Feb '13, 1pm

I'm really excited about this. I participate a lot in a quasi-popular framework where we've been using SMF and now Vanilla...

Ruby on Rails Study Guide: Blocks, Procs, and Lambdas

Ruby on Rails Study Guide: Blocks, Procs, and L...

heydesigner.com 09 Feb '13, 11am

sitepoint.com Introducing the New HTML5 Element When was the last time we received a new element? HTML5 introduced just ni...

Ruby on Rails vulnerable to mass assignment and SQL injection

Ruby on Rails vulnerable to mass assignment and...

zweitag.de 11 Feb '13, 6pm

Ruby on Rails vulnerable to mass assignment and SQL injection During the last weeks Ruby on Rails has been hit by several ...

#eugenedevjobs Ruby on Rails Developer (Eugene,...

eugene.craigslist.org 11 Feb '13, 1am

TEKsystems is looking for a Sr. Software Engineer with full stack Ruby on Rails experience. The Sr. Software Engineer's pr...

Blind Refactoring, Guided by Tests

rubyflow.com 08 Feb '13, 9pm

Blind Refactoring, Guided by Tests Posted by NathanLong on February 08, 2013 — 0 comments Can you write good code if you d...

Ruby Weekly issue 131 is out: (tons of goodies ...

rubyweekly.com 07 Feb '13, 3pm

Topaz: A New Ruby Implementation Built on RPython A brand new Ruby implementation built upon RPython, a 'restricted' varia...

[New Entry] Ruby on Rails の準備メモ その2

at-aka.blogspot.com 10 Feb '13, 2am

clmemo@aka: Ruby on Rails の準備メモ の続き。mysql の作成まで。 blog プロジェクト Ruby on Rails を始める。チュートリアルとしては、Ruby on Rails Guides: Getting ...

Roadmap for learning Ruby and rails

Roadmap for learning Ruby and rails

techiferous.com 08 Feb '13, 6am

I learned Rails as my first programming language. Looking back on my own reservations, hang-ups and attempts to teach othe...

Now Hiring: Ruby on Rails Developer: USA - if d...

jobs.telegraph.co.uk 09 Feb '13, 4am

This well-funded digital start-up is searching for a progressive Software Engineer with broad technology experience in Rub...