×
About
Attributions
Come for the blog, stay for the free
apps
.
DevDecks was built to help you solve coding problems, while also building utilities to make your days more productive. I hope you enjoy your stay 🏡 .
How to execute a task inside a Rails app
2022-08-10
 
rails
Validating a string is a URL in Rails
2022-04-21
 
rails
Rails random date generator
2022-04-20
 
rails
How to render a collection of turbo frames
2022-04-09
 
rails
turbo
How to render turbo frames within a multi-part form
2022-04-08
 
rails
turbo
Handle controller responses using Rails before_action
2022-03-25
 
rails
Verify HTTP header signature in Rails
2022-03-24
 
rails
http
Handling unavailable server data in Rails
2022-01-26
 
software-development-decisions
rails
sidekiq
When to use polymorphic associations in Rails
2022-01-20
 
rails
active-record
Difference between before_save and before_update and before_create in Rails
2022-01-18
 
rails
active-record
How to call a Rails method before a validations occur
2022-01-17
 
rails
active-record
How to generate uuids in a Ruby on Rails application
2022-01-08
 
rails
uuid
How does Rails handle referential integrity
2022-01-07
 
rails
active-record
database
How to handle token auth in Rails
2022-01-02
 
rails
auth
token
Ruby on Rails integration testing cheatsheet
2022-01-01
 
rails
testing
cheatsheet
Creating a table with non id primary key in Rails
2021-12-26
 
rails
database
active-record
Same database table parent/child relationship using Rails
2021-12-25
 
rails
active-record
database
Rails controllers and nested resources
2021-11-05
 
rails
routing
Redirect to nested resource url in Rails
2021-11-04
 
rails
form
routing
Rendering forms for parent and child ActiveRecord objects in Rails
2021-11-03
 
rails
form
Accessing data from a join query in Rails
2021-11-02
 
rails
database
join
Rails nested resources MVC complete example
2021-11-01
 
rails
mvc
form
Everything you may have wanted to know about Dates and Times in Ruby and Rails
2021-09-02
 
ruby
rails
Difference between rake tmp:clear and Rails.cache.clear
2021-08-29
 
rails
caching
Issue a dynamic url with Rails route helpers
2021-05-07
 
rails
urls
dynamic-routing
Check if an HTTP status falls within a range using Ruby
2021-05-06
 
rails
http
When early code optimization is okay, an example
2021-05-02
 
oauth
rails
clean-code
Rails db encryption cheatsheet
2021-04-29
 
rails
cheatsheet
database
Rails error handling cheatsheet
2021-04-20
 
rails
cheatsheet
Rails params cheatsheet
2021-04-19
 
rails
cheatsheet
An example of when to expire a cache key
2021-04-10
 
rails
cache
Delete a cache key from Sidekiq using Rails
2021-04-05
 
rails
database
Persist multiple records in one database transaction using Rails
2021-04-03
 
rails
database
How to get unique values for a database column in Rails
2021-03-17
 
rails
active-record
How not to memoize in Ruby
2021-03-10
 
ruby
rails
memoization
Add view helpers to a Rails application, globally and locally.
2021-03-01
 
rails
ruby
When does a Rails application load and read my code?
2020-12-12
 
ruby
rails
program-execution
Privacy Policy
Built with 🛠️ and ☕ in ⛰️