Rails Trick & Tips : Hirb config for Rails Console hirb, rails tips & tricks

Got a Warning ?

Hirb Warning: Too many fields for the current width... 

So just create a config/hirb.yml :

    :output:
      User:
        :options:
          :fields:
            - id
            - username
            - email
            - active
    

Source & Informations

http://shapeshed.com/easing_rails_development_with_hirb

http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html

https://github.com/cldwalker/hirb


comments powered by Disqus