Rails tips that dodge bugs
Practical Rails notes for apps that stay maintainable.
Use a Remote Mysql Database With Heroku
Larry Scott
·
0 responses
·
mysql, heroku
ActiveRecord empty? vs count
Luis Ezcurdia
·
6 responses
·
rails, activerecord, benchmark
redirect to canonical host in Rails 4
dommmel
·
3 responses
·
ruby, rails, seo, redirect
MySQL 5.6 doesn't accept empty strings on numerical fields
Nuno Costa
·
3 responses
·
ruby, mysql, rails
Ember Data: Alternative Approach to Polymorphic Associations
Michael Bodnarchuk
·
3 responses
·
rails, emberjs, json, javascript
Deploying Meteor app to heroku with Meteorite and MongoLab
Jorge mollon
·
9 responses
·
heroku, meteor, meteorite, mongolab
Stubbing a helper method in your capybara specs
Kareem Grant
·
0 responses
·
rails, helpers, rspec, capybara
Make a painless web API in Ruby
Colin Mattson
·
2 responses
·
ruby, rails, rest, api
Rails routing and namespaced models
Miha Rekar
·
1 response
·
routing, rails, model, namespace
Rails 4: Remove Turbolinks in your Rails app
Robbie Marcelo
·
0 responses
·
rails, rails4, turbolinks
Getting Rails logs to appear in Foreman output
John McDowall
·
2 responses
·
rails, foreman
Chain Rails scopes with OR
Nathan Hopkins
·
1 response
·
ruby, rails
Devise redirect AJAX request when session timed out(timeoutable module)
Mikhail Nikalyukin
·
1 response
·
ruby, rails, devise, ajax
CSS hex color validation in Rails
Mike Carter
·
0 responses
·
css, rails, hex, validator
Restrict IP access in rails
Snir David
·
0 responses
·
ruby, rails
Strong parameters with has_and_belongs_to_many
Cezar Halmagean
·
6 responses
·
rails, strong parameters
How to Migrate Database from Heroku to Postgresql RDS (Amazon)
Rafael Oliveira
·
0 responses
·
heroku, postgres, migration, database
Rails ActionMailer SMTP Settings with Environment Variables
Kyle Welsby
·
1 response
·
rails, smtp, mandrill, action mailer
Display date ranges in text in Rails
Michel Billard
·
6 responses
·
rails, helper, dates
Journey from C# to Ruby.
Sergio Tapia Gutierrez
·
1 response
·
ruby, rails, c#
Serving pre-compressed assets through Apache
Robson Mendonça
·
0 responses
·
assets, apache, gzip, rails
Display flash messages with Semantic-UI in Rails
Sebastián González
·
5 responses
·
rails, flash, flash message, semantic-ui
Deleting nested hashes
Gus Bonfant
·
0 responses
·
ruby, rails, hash
Testing Anonymous Controllers with RSpec
Ezequiel Delpero
·
1 response
·
rails, devise, rspec
FactoryGirl syntax sugar for MiniTest
Phil Cohen
·
2 responses
·
ruby, tdd, rails, testing
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.