Sha256: 9eb672a80cf110e0d502f9dd59cbeda39b89ec9a7c9959eeec74308f432d0253

Contents?: true

Size: 1.14 KB

Versions: 11

Compression:

Stored size: 1.14 KB

Contents

module OldSql
  require 'old_sql/engine' if defined?(Rails)
  
  # The title of the Report Selection View.
  mattr_accessor :report_select_page_title
  @@report_select_page_title = 'Old SQL Reports'
  
  # The default report view. This setting will be used unless overridden in 
  # config/old_sql/reports.yml.
  mattr_accessor :default_report_view
  @@default_report_view = 'jqgrid'
  
  # The default report view. This setting will be used unless overridden in 
  # config/old_sql/reports.yml.
  mattr_accessor :default_report_view
  @@default_report_view = 'jqgrid'
  
  # Width of the jqGrid component in the jqGrid report view.
  mattr_accessor :jqgrid_width
  @@jqgrid_width = 800
  
  # Height of the jqGrid component in the jqGrid report view.
  mattr_accessor :jqgrid_height
  @@jqgrid_width = 630
  
  # Number of rows to display in the jqGrid component in the jqGrid report view.
  mattr_accessor :jqgrid_row_num
  @@jqgrid_row_num = 25
  
  # Default way to setup Old SQL. Run rails generate old_sql:install to create
  # a fresh initializer with all configuration values.
  def self.setup
    yield self
  end
end

require 'extensions/action_controller/base'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
old_sql-1.1.0 lib/old_sql.rb
old_sql-1.0.0 lib/old_sql.rb
old_sql-0.59.0 lib/old_sql.rb
old_sql-0.58.0 lib/old_sql.rb
old_sql-0.57.0 lib/old_sql.rb
old_sql-0.56.0 lib/old_sql.rb
old_sql-0.55.0 lib/old_sql.rb
old_sql-0.54.0 lib/old_sql.rb
old_sql-0.53.0 lib/old_sql.rb
old_sql-0.52.0 lib/old_sql.rb
old_sql-0.51.0 lib/old_sql.rb