Rails tips that dodge bugs
Practical Rails notes for apps that stay maintainable.
Get current time in Rails app
Sergey Nartimov
·
3 responses
·
ruby, rails
Omniauth with multiple providers in a Rails/Mongoid app
José Manuel Escudero
·
5 responses
·
rails, omniauth, mongodb, authentication
Simple measure of code execution time in Rails console
toni
·
0 responses
·
ruby, rails, performance, time
Clean up your strong parameters in Rails 4
ingemar
·
0 responses
·
rails, best practices
Rake task to call a Rails controller method
Ometa
·
1 response
·
rails, controller, rake
Sharing HTML Fragment Caches Between Users With CSS
Matthew Spence
·
0 responses
·
ruby, css, rails, performance
Quickly enable middleware based custom exception handling in Rails
Amos Lanka
·
0 responses
·
middleware, exceptions, rails, errors
Stopping rails from duplicating JSON parameters in a root node
Andrew Hao
·
2 responses
·
ruby, rails, json, parameters
Change Devise parent controller
Andrew Volozhanin
·
0 responses
·
ruby, rails
Rails 4 Asset Pipeline Log silent
Rafael Oliveira
·
2 responses
·
rails, logs, asset-pipeline, rails4
How to NOT query ActiveRecord datetime
Rafael Oliveira
·
2 responses
·
rails, activerecord, postgresql
How to remove dashboard in active admin
Ireneusz Skrobiś
·
0 responses
·
rails, active_admin
i18n-js assets for EmberJS or any other Javascript framework.
Randy Morgan
·
0 responses
·
ruby, rails, emberjs, asset pipeline
Caching bundler when building a ruby/rails app's image with docker
Adrien Folie
·
0 responses
·
ruby, rails, dockerfile, docker
Dynamically load configuration tokens using ruby's metaprogramming magic
Carlos Betancourt C.
·
2 responses
·
ruby, rails, api, metaprogramming
Create a twitter bot using Ruby
Emad Elsaid
·
4 responses
·
ruby, rails, twitter, bot
Adding time interval to timestamp column
Bashir Eghbali
·
0 responses
·
sql, postgres, rails
Execute a migration command from the Rails console
Anthony Smith
·
0 responses
·
rails, console, migrations
BeforeRender Concern for Rails
Francois Deschenes
·
4 responses
·
rails, callbacks, rails4
Authenticates a Ruby on Rails User model via LDAP and saves their LDAP photo if they have one
Edward J. Stembler
·
0 responses
·
ruby, rails, authentication, ldap
Rails flash message for Bootstrap (Haml)
James Martin
·
0 responses
·
rails, haml, bootstrap
Rails 4 Extranet and E-Commerce application implementing Devise "Single Sign On" with "Active Admin", "Comfy Mexican Sofa" and "Spree Commerce"
Dion Santana
·
1 response
·
ruby, rails, activeadmin, authentication
Designers Guide for Mountain Lion Upgrade
Dakota J Lightning
·
0 responses
·
ruby, rails, osx, brew
uniqueness validations in ActiveModel
Jean Mertz
·
0 responses
·
rails, validations, activemodel
Validating associated plain Ruby objects
Ian Whitney
·
1 response
·
ruby, activerecord, validation
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.