15 Jul '12, 8am

Now Browsing: #280 Pry with Rails - RailsCasts

pry(#<Class:0x104e63de0>):1> show-method all.in_groups_of From: /Users/eifion/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.0.10/lib/active_support/core_ext/array/grouping.rb @ line 19: Number of lines: 19 def in_groups_of(number, fill_with = nil) if fill_with == false collection = self else # size % number gives how many extra we have; # subtracting from number gives how many to add; # modulo number ensures we don't add group of just fill. padding = (number - size % number) % number collection = dup.concat([fill_with] * padding) end if block_given? collection.each_slice(number) { |slice| yield(slice) } else groups = [] collection.each_slice(number) { |group| groups << group } groups end end

Full article: http://railscasts.com/episodes/280-pry-with-rails?languag...

Tweets

“#280 Pry with Rails - RailsCasts”

railscasts.com 21 Jul '12, 2am

Pry is an alternative to IRB and sports many great features. Here I show how to integrate it into a Rails app, and how it ...

What’s New in Edge Rails #29: Week of July 9 – ...

afreshcup.com 16 Jul '12, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Acabei de postar no blog: Internacionalização (I18n) Mínima em Rails 3.2 Parte 1 e Parte 2

Acabei de postar no blog: Internacionalização (...

akitaonrails.com 15 Jul '12, 2am

de acordo com sua aplicação. Não tem coisa que eu abomine mais do que um banco de dados e uma aplicação web desenvolvida e...

he @railscasts effect

rubygems.org 25 Jul '12, 3pm

rack-mini-profiler stats for 0.1.7 Overview 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1 Page loading speed displayed on ...

Internationalização (I18n) Mínima em Rails 3.2 ...

akitaonrails.com 15 Jul '12, 1am

Essa é completamente fora do escopo deste artigo, mas como meu código no Github está utilizando, vou apenas listar como in...

Wettpool - Open Source Sports Betting Pool Read...

rubyflow.com 15 Jul '12, 11am

Wettpool - Open Source Sports Betting Pool Ready for 2012/13 Football Season (in Rails 3.2+) Posted by geraldbauer on July...

ERR unknown command blpop for Resque, Redis and...

rubyflow.com 15 Jul '12, 10pm

ERR unknown command blpop for Resque, Redis and Rails Posted by mencio on July 15, 2012 — 0 comments I just posted small n...

Rails Deployment Audit

rubyflow.com 13 Jul '12, 3pm

Rails Deployment Audit Posted by dalibor on July 13, 2012 — 0 comments Checklist with some practices for Rails Deployment ...

@egotraumatic see there: rails weblog is worth ...

weblog.rubyonrails.org 11 Jul '12, 1am

The forthcoming 3.2.x release series will be the last branch of Rails that supports Ruby 1.8.7. There’s a new 3-2-stable b...

Watching Nginx & Unicorn on RailsCasts via @rai...

railscasts.com 14 Jul '12, 2am

#293 Nginx & Unicorn Oct 24, 2011 | 19 minutes | Tools , Production Nginx and Unicorn make a killer-combo for hosting a Ra...

Roadmap for Rails Apps Composer 2.0

rubyflow.com 13 Jul '12, 8pm

is a gem with recipes to create Rails application templates you can use to generate Rails starter apps. I use it to create...

My experience with jQuery Mobile and Rails

rubyflow.com 13 Jul '12, 11am

My experience with jQuery Mobile and Rails Posted by spyou on July 13, 2012 — 0 comments I recently had to create a light ...

UT on Rails: Week 5 Controllers

rubyflow.com 13 Jul '12, 2pm

UT on Rails: Week 5 Controllers Posted by schneems on July 13, 2012 — 0 comments Follow along with my University of Texas ...