In Rails, you can conditionally mix methods into the console when the Rails app is started via IRB. This is done using the console configuration block in your application.rb file. module MyApp class Application < Rails::Application # ... console do # define the methods here end end end In your...
ruby-on-rails,rails-console,hirb
You can navigate through your data with up and down arrows, or quit with 'q'.