Use the source method to output the source code of a method to the rails console

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/ruby

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • Pry

    A runtime developer console and IRB alternative with powerful introspection capabilities.

    Or you can use pry and simply type $ UsersController#index, $ User.first or even $ User to see the whole class.

  • carbon

    :black_heart: Create and share beautiful images of your source code

    Carbon.sh.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts