Ruby tips you wish you knew
Small Ruby tricks that make scripts and gems feel nicer.
Handle MongoDB arrays in Rails Forms
Ismail Dhorat
·
0 responses
·
ruby, rails, mongodb, mongoid
Use build_stubbed instead of build in FactoryGirl
Sean Geoghegan
·
0 responses
·
ruby, rails, factory_girl
Ruby 1.9 Syntax Linting with Sublime Text 2
Alexander
·
3 responses
·
ruby 1.9, sublime text 2, ruby, sublime linter
Testing almost any code in browser
Joel Kirchartz
·
4 responses
·
jquery, ruby, python, clojure
Install mysql2 ruby gem under OS X 10.8 Mountain Lion - Ruby + MacPorts
Gergely Tamás Kurucz
·
1 response
·
ruby, osx, macports
Ruby hashes and "try"
Marc Anguera Insa
·
1 response
·
ruby, rails, hash
Make jasmine:ci use phantomjs (under Rails)
Georg
·
1 response
·
ruby, rails, jenkins, phantomjs
Gem Authors: Think About Your Users!
Ian MacLeod
·
1 response
·
ruby, bundler, rubygems, gem
Find missing translations in your Rails app.
Alexey Kuleshov
·
2 responses
·
ruby, rails, on
Heroku + Rails build error: Specified 'postgresql' for database adapter, but the gem is not loaded.
usiegj00
·
0 responses
·
heroku, ruby, rails, postgres
Ruby generate random number, doing it right.
Ben
·
1 response
·
ruby, random, generator
Why I chose Node.js over Ruby on Rails
Sagi Isha
·
3 responses
·
ruby, coffeescript, rails, nodejs
Slim down HTTP responses
Ricardo Mendes
·
2 responses
·
ruby, rack, sinatra, gzip
RubyMotion + Reveal
Diogo
·
0 responses
·
ruby, reveal, ios, rubymotion
clear cache of a Ruby on Rails association
David Rasch
·
0 responses
·
ruby, rails, cache, associations
Don't force your privates up my face
Alexander Brevig
·
14 responses
·
ruby, open source, csharp, c-c
Running a Rake task during a Rails 4 deployment using Capistrano 3
Saul Costa
·
0 responses
·
rails, capistrano, rake, deploy
CanCan: Load and authorize resource under certain circumstances only
Maciej Smoliński
·
0 responses
·
ruby, controller, devise, application
Ruby parsing JSON from txt file.
Jake Cooper
·
1 response
·
ruby, json
An algorithm to generate fake but realistic looking graph data(that trends too)
Peter Philips
·
2 responses
·
ruby, algorithms, data, graphs
Exclude any js file from uglifier optimization during assets:precompile
Andrew Volozhanin
·
3 responses
·
ruby, rails, assets
Simple trick to work with ActiveRecord dynamic column and encapsulated accessor
nhm tanveer hossain khan (hasan)
·
0 responses
·
ruby, flexi-model, column_for_attribute, dynamic attributes
How to enable Strong Parameters protection for non-ActiveRecord models?
Vojtěch Kusý
·
0 responses
·
ruby, rails, strong parameters, mass-assignment protection
Deploying Sinatra (DataMapper, SQlite, Postgresql) Applications to Heroku
Akapo Damilola Francis
·
1 response
·
ruby, heroku, sqlite, vilgax321
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.