Rails Console Deep Dive
21-Jun-2023 934
Tips and tricks to help you get the most from the Rails console.If you read my other post, 5 Tips for New Rails Developers, some of these may look familiar.I love being able to use and test helper methods in the console. Some of the more common ones I find myself using are ActionView helper methods and I18n translations. Quickly testing different options in the console is a much easier process without having to refresh your browser and check the output.Some examples from ActionView::Helpers::NumberHelper more info.
Rails Console Deep Dive #ruby #rubydeveloper #rubyonrails #Rails #Console https://rubyonrails.ba/link/rails-console-deep-dive