Hirb not displaying correctly In Rails 4

98 views Asked by At

I installed Hirb, and wanted the nice table view that comes with it. I have checked the version of pry, and Rails, and Hirb, and they should be working. I've tried to reinstall the gems as well. I get no pretty view after running Hirb.enable:

➜  awections git:(master) ✗ rails c
/Users/RJ/.rvm/gems/ruby-2.1.3/gems/activesupport-    4.2.0/lib/active_support/dependencies.rb:274:in `require'
2.1.3 (main):0 > Hirb.enable
=> true
2.1.3 (main):0 > Product.all
  Product Load (1.0ms)  SELECT "products".* FROM "products"
=> [#<Product:0x007fb8fec3b838
  id: 1,
  name: "Hammer",
  image: "http://s.hswstatic.com/gif/hammer-1.jpg",
  created_at: Fri, 05 Jun 2015 19:48:19 UTC +00:00,
  updated_at: Fri, 05 Jun 2015 19:48:19 UTC +00:00,
  user_id: nil>,
 #<Product:0x007fb8fec3b680
  id: 2,
  name: "Screw Driver",
  image: "http://images.clipartpanda.com/screwdriver-clipart-free-vector-bigredsmile-a-screwdriver-clip-art_115848_Bigredsmile_A_Screwdriver_clip_art_hight.png",
  created_at: Fri, 05 Jun 2015 19:49:13 UTC +00:00,
  updated_at: Fri, 05 Jun 2015 19:49:13 UTC +00:00,
  user_id: nil>]
2.1.3 (main):0 >

Any insight would be appreciated.

0

There are 0 answers