Sha256: 49feb718c881d8f2c618188f6f6c665ddc7e957dd1ae07ca60b724e6d711217b

Contents?: true

Size: 1 KB

Versions: 11

Compression:

Stored size: 1 KB

Contents

# Use this hook to configure the default report view, etc.
OldSql.setup do |config|
  # The model used by devise. Ensure that the devise columns are installed in the model.
  config.devise_model = 'DeviseModel'
  
  # ==> 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"
  
  # Height of the report table or jqGrid.
  config.report_height = 630
  
  # Width of the report table or jqGrid.
  config.report_width = 800
  
  # ==> jqGrid Report View Configuration
  # Number of rows to display in the jqGrid component in the jqGrid report view.
  config.jqgrid_row_num = 25
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
old_sql-1.21.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.20.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.19.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.18.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.17.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.16.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.15.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.14.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.13.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.12.0 lib/generators/old_sql/templates/old_sql.rb
old_sql-1.11.0 lib/generators/old_sql/templates/old_sql.rb