if defined?(Rails) && Rails.env
  extend Rails::ConsoleMethods
end
