Skip to content

Table output not working using Rails 3.2 #54

Open
@conradwt

Description

Hirb doesn't use table output when dealing with ActiveRecord::Base model(s). Next, I have the following within my .irbrc:

Hirb::View.enable
Hirb.enable :output => {"ActiveRecord::Base" => {:class => :auto_table, :options => {:vertical => true}}}
extend Hirb::Console

Next, when I'm in the Rails console and I execute the following things start to work:

Hirb.disable
Hirb.enable

BTW, I have tried the above with .irbrc and no luck.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions