Rails tips that dodge bugs
Practical Rails notes for apps that stay maintainable.
How to transfer data seamlessly between various Ruby on Rails environments and databases
Omar Kamali
·
2 responses
·
ruby, rails, heroku, database
Use before/after callbacks when touch-ing your Rails models
Michiel Sikkes
·
1 response
·
ruby, rails, cache
Postgres Enum Type in Rails 4
Gleb Mazovetskiy
·
4 responses
·
ruby, rails, postgres
Deploing Symfony Project using MySQL to Heroku.
Mateusz Książek
·
8 responses
·
php, heroku, symfony, symfony2
Rails: add a route for a test
Alexander
·
2 responses
·
ruby, tdd, rails, controller
Ruby String to Boolean
flynfish
·
0 responses
·
ruby, rails
How to redo a Rails database migration
Matthew Lenton
·
0 responses
·
rails, migration, redo, force
Convert Ruby hash keys to symbols
Bashir Eghbali
·
1 response
·
rails, hash
Require all files within a directory in Ruby
Andy Kifer
·
0 responses
·
ruby, rails
Render an HTML partial inside a JSON request
Michel Billard
·
2 responses
·
rails, json, format, ajax
Share localhost with anyone
Lauren
·
17 responses
·
python, rails, osx, design
Create .ruby-version and .ruby-gemset files using RVM
Dwight Scott
·
0 responses
·
ruby, rails, rvm, rvmrc
Ruby: make plain text links clickable
Michael Kohl
·
2 responses
·
ruby, regex, rails, uri
persisted? && new_record? for checking existing record
Rashmi
·
2 responses
·
rails, rashmi14yadav, active_record
Using External Database with Heroku
David Morrow
·
5 responses
·
rails, heroku
Convert a hash to query string parameters
Michel Billard
·
0 responses
·
rails, query-string
Case statement for Rails Enum
wojtek
·
1 response
·
ruby, rails, rails 4.1
erb2slim - Convert ERB to Slim
James Duncombe
·
3 responses
·
rails, haml, slim, erb
Forms, CSRF authenticity token and fragment caching in Rails
Bashir Eghbali
·
3 responses
·
xss, cache, csrf, fragment caching
Preloading scoped has_many :through associations
Alex Popov
·
0 responses
·
rails, activerecord, sql, eager loading
Dynamically add nested forms to an ActiveModel::Model form
Sam Slotsky
·
12 responses
·
rails, reflection, javascript, add nested form
Take control of your Heroku Git repository
Dharampal H S
·
2 responses
·
ruby, rails, heroku, deployment
Forget counter cache for many-to-many associations in Rails
João Marcelo Oliveira de Souza
·
0 responses
·
ruby, rails, active record, counter cache
Setting up a brand new Postgres powered Ruby & Rails Development Environment with Vagrant
Rory Koehler
·
5 responses
·
rails, postgres, vagrant, virtual box
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.