Sha256: c57ecc9c5ae1d183b47986e4e62b5d7045819358cb76a9ddf6633cd22450595f

Contents?: true

Size: 934 Bytes

Versions: 8

Compression:

Stored size: 934 Bytes

Contents

# Use this hook to configure the default report view, etc.
OldSql.setup do |config|
  # ==> Default Report View Configuration
  # The title of the Report Selection View.
  config.report_select_page_title = 'Old SQL Reports'
  
  # Determines whether the values for the report will be rounded.
  config.round_report_values = true
  
  # The precision to round all values to if rounding is enabled.
  config.rounding_precision = 2
  
  # Configure the default report view. This setting will be used unless overridden 
  # in config/old_sql/reports.yml.
  config.default_report_view = "jqgrid"
  
  # ==> jqGrid Report View Configuration
  # Height of the jqGrid component in the jqGrid report view.
  config.jqgrid_height = 630
  
  # Width of the jqGrid component in the jqGrid report view.
  config.jqgrid_width = 800
  
  # Number of rows to display in the jqGrid component in the jqGrid report view.
  config.jqgrid_row_num = 25
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
old_sql-1.9.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.8.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.7.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.6.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.5.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.4.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.3.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.2.0 lib/generators/old_sql/templates/old_sql.rb