firstdraft / appdev_template

A Rails template for generating homework projects
0 stars 1 forks source link

Can we move .pryrc? #164

Open raghubetina opened 4 years ago

raghubetina commented 4 years ago

Right now we have this .pryrc:

Pry.config.print = proc do |output, value, _pry_|
  case value
  when ActiveRecord::Relation
    output.puts "=> #{value.to_s}"
  else
    Pry::ColorPrinter.default(output, value, _pry_)
  end
end

Since we're in a Rails project, can we move this into a config file?

(Trying to combat the creeping scourge of files in the root folder.)