
How to check if hash has key in Ruby
With Ruby, there are some cases where you want to check if a given key is already in the hash.
With Ruby, there are some cases where you want to check if a given key is already in the hash.
Until recently, Rails comes with no default way to authenticate the user, like Laravel does in the PHP world.
Turbo frame is a powerful feature of Hotwire, here is a quick memo about how to follow conventions in the simplest case. Convention over configuration is powerful, but sometimes it is also a problem when you are not sure anymore about conventions ;) so I plan to release more "simplest *** Hotwire feature".
Encoding a String in Ruby may be trickier than I initially thought, given the number of options available. Here is my take.
form_with is known as a form helper, which means it's an abstraction to build well-known, standard HTML form.
Today I'm releasing a brand new Ruby-on-Rails starter kit, that mixes Tailwind and Rails.