Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Conditional chaining of methods
Daniel Kosalla
·
0 responses
·
ruby, rails, activerecord, namedscope
Custom Log Location in Rails
Stephen Orens
·
0 responses
·
ruby, rails, logging
Rails console and `app.get` result in the browser
maximed
·
0 responses
·
ruby, rails, pry
JSON API response for 'No route matches'
Marvin Marcelo
·
0 responses
·
ruby, api, json, rails3
Pretty JSON for humans
Wynn Netherland
·
15 responses
·
ruby, api, json, ux
Google URL Shortener API in Ruby
Jésus Lopes
·
0 responses
·
ruby, rubygems, googl
Convert will_paginate output to Bootstrap markup
David Morrow
·
2 responses
·
jquery, ruby, rails, pagination
Remove ugly #_=_ string from URL when using Facebook OmniAuth
John jensen
·
1 response
·
ruby, rails, facebook, js
Easy Environment or Config Override in Rails
Stephen Orens
·
0 responses
·
ruby, rails, config, env
Travis CI - "Don't know how to build task 'default'"
Tom Milewski
·
2 responses
·
ruby, testing, travis ci, spec
Pretty print JSON responses with curl/ruby
Felipe Elias Philipp
·
2 responses
·
ruby, curl, json
Rails 4 Facebook Applications
Tom Milewski
·
6 responses
·
ruby, rails, xss, facebook
Fix undefined method `per' error on Will_Paginate and ActiveAdmin
David Chua
·
5 responses
·
ruby, rails, active_admin, will_paginate
Stub any instance with minitest
Vasiliy Ermolovich
·
0 responses
·
ruby, minitest
Installing rmagick 2.13.1 in MacOS X Mavericks
Zapic0
·
1 response
·
ruby, rails, osx, mac
Getting input from inside a Rake task
Justin Smestad
·
0 responses
·
rails, script, prompt, rake
How to setup rails app on a mediatemple (dv)
Tom Caflisch
·
4 responses
·
ruby, rails, mediatemple, linux
Using .reject with .map in Ruby
Corey Grunewald
·
2 responses
·
ruby, map, reject
Breaking nested loop, like each_slice with style
Enrico Carlesso
·
0 responses
·
ruby, break, loops, catch
Build Ruby 2.0.0-p0 on OS X using rbenv
eddie cianci
·
3 responses
·
ruby, osx, openssl, rbenv
Ruby: Converting date from one timezone to another
Matthew Riddle
·
0 responses
·
ruby, time, date, datetime
ActiveAdmin: batch actions for different scopes
Alexey Plutalov
·
6 responses
·
ruby, rails, active_admin
Vim command to convert variable into spec let(:var)
Christian Schlensker
·
0 responses
·
ruby, vim, code, minitest
Disable destructive rake tasks by environment
Jim Smith
·
0 responses
·
ruby, rails, rake, db
Install rubies with Rbenv
meddle
·
0 responses
·
ruby, rvm, rbenv
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#
Coderwall Dev Community
Explore the all-time favorite tutorials, design patterns and engineering guides that thousands of readers keep sharing and coming back to, year after year.
These proven techniques, reusable code samples, programming tips and vibe coding habits earned their place through steady views and member likes.
Each entry here is still useful today, covering programming languages, frameworks and workflows that stay relevant long after they were first published.
Whether you're new to a tech stack or an experienced engineer refreshing your skills, start with the most useful tips our dev community members recommend and build on solid, well-tested coding knowledge.