Have you ever thought about how Rails console was not built for you to read the results of a query that returns more than one object? So, you are not the only one, and that is why there is a gem called ‘hirb’ that will blow your mind, it will make pretty tables of the…
Tag: console
Are you tired of typing always the same things on Rails console? what if you don’t need anymore?
After you spend some time working in the same Rails project, being this project whatever project you are working for some time now, you probably use the Rails console a lot, many reasons: Testing code Seting up data Using “binding.pry” to “debug” some controller or model Put whatever you are doing in “rails c” now…