rails_db 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f73d3ff5bd1354832dbce3ed28cc82923e0598836da17dd14dcb514f8cd8ec3d
4
- data.tar.gz: 798e90194c512c955ac0a17b8001554c061304a628d43ec0bf1f520bec1e1ce8
3
+ metadata.gz: 1d42c59bb270d3758afef3c5238226cb576a8c11b7dc40ca4e6097588227a409
4
+ data.tar.gz: 0ba18147eef5521a33ee12a55b2f8eda67956d4e65471cd1c370b6ae418d41ce
5
5
  SHA512:
6
- metadata.gz: 67101834b7aa868fe50c293a4fce0fac293ea823d356d0b5365ae7b9ac6e528bb73f07a8ca7f8cfc220981f0924bdecfc2e7fe277b01aa7611cf9029ddfe9c89
7
- data.tar.gz: 5ac30c2134f260a2189433b1a5ca633ac6db05a680426a1a7786fad1d396746c4ca4c9d3cdaf9a3de6515224e946fdc2bd536b464624d249bd973c0bac9a7f5e
6
+ metadata.gz: 050e7783818529090b9d1e341e8db1a78e6b9fabcb86073c854cdc4adfd7f4522c64b9349094325341c38d92801b7ce29962fda92254ae2976e021d7ca25d414
7
+ data.tar.gz: d4a20fb401ab2dc9b8ccdc49f59b776ec6652e8dec64b978527a5e44ee87d175b1fdb972d65d4dd4562289bd130f593a904458c68d41e918dd5ec7037aa21bde
data/Gemfile CHANGED
@@ -2,16 +2,16 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rails', '5.1.6'
5
+ gem 'rails'
6
6
  gem 'terminal-table'
7
7
  gem 'simple_form', '>= 5.0.1'
8
- gem 'ransack', '1.8.8'
8
+ gem 'ransack', '>= 2.3.2'
9
9
  gem 'kaminari', '>= 0.17.0'
10
10
 
11
11
  # for Rails 5+
12
12
  gem 'rubyzip', '>= 1.2.1'
13
- gem 'axlsx', git: 'https://github.com/randym/axlsx.git', ref: 'c8ac844'
14
- gem 'axlsx_rails'
13
+ gem 'caxlsx'
14
+ gem 'caxlsx_rails'
15
15
 
16
16
  group :assets do
17
17
  gem 'uglifier'
@@ -47,8 +47,8 @@ function expand_collapse() {
47
47
  };
48
48
 
49
49
  function save_expand_collapse() {
50
- $.removeCookie('sidebar_visible');
51
- $.cookie('sidebar_visible', $('.expand').is(':visible'), { expires: 30, path: '/' });
50
+ $.removeCookie('sidebar_hidden');
51
+ $.cookie('sidebar_hidden', !$('.expand').is(':visible'), { expires: 30, path: '/' });
52
52
  };
53
53
 
54
54
  // https://github.com/codemirror/CodeMirror/blob/master/mode/sql/index.html
@@ -5,5 +5,10 @@ select.datetime, select.date, select.time {
5
5
 
6
6
  .scrollable_form {
7
7
  max-height: 600px;
8
- overflow: scroll;
8
+ overflow: auto;
9
+ margin-bottom: 10px;
9
10
  }
11
+
12
+ .scrollable_form label {
13
+ font-weight: bold;
14
+ }
@@ -42,7 +42,7 @@ module RailsDb
42
42
  if defined? Axlsx
43
43
  render xlsx: 'table', filename: "#{@table.name}.xlsx"
44
44
  else
45
- raise 'RailsDb could not find Axlsx, please add it to your Gemfile: "gem \'axlsx_rails\'"'
45
+ raise 'RailsDb could not find Axlsx, please add it to your Gemfile: "gem \'caxlsx_rails\'"'
46
46
  end
47
47
  end
48
48
 
@@ -70,7 +70,7 @@ module RailsDb
70
70
 
71
71
  def update
72
72
  @record = @table.as_model.find(params[:pk_id])
73
- @record.update_attributes(record_attributes)
73
+ @record.update(record_attributes)
74
74
  respond_to do |page|
75
75
  page.html { redirect_to action: :data, table_id: params[:table_id] }
76
76
  page.js {}
@@ -50,7 +50,7 @@ module RailsDb
50
50
 
51
51
  def show_sidebar?
52
52
  return true if controller_name == 'dashboard' && action_name == 'index'
53
- cookies['sidebar_visible'] == 'true'
53
+ cookies['sidebar_hidden'] != 'true'
54
54
  end
55
55
 
56
56
  def title(str)
@@ -10,6 +10,14 @@
10
10
 
11
11
  <h3><%= link_to 'Benchmark Methods', 'https://github.com/igorkasyanchuk/benchmark_methods', target: '_blank'%> - Benchmark and measure execution time your Ruby methods without an additional code changes</h3>
12
12
 
13
+ <h3><%= link_to 'log_analyzer', 'https://github.com/igorkasyanchuk/log_analyzer', target: '_blank'%> - Check performance of your sidekiq workers</h3>
14
+
15
+ <h3><%= link_to 'active_storage_validations', 'https://github.com/igorkasyanchuk/active_storage_validations', target: '_blank'%> - Many validations for your ActiveStorage attachments</h3>
16
+
17
+ <h3><%= link_to 'rails_pdf', 'https://github.com/igorkasyanchuk/rails_pdf', target: '_blank'%> - Generate PDF using Chrome headless</h3>
18
+
19
+ <h3><%= link_to 'new_google_recaptcha', 'https://github.com/igorkasyanchuk/new_google_recaptcha', target: '_blank'%> - Google Recaptcha v3</h3>
20
+
13
21
  </div>
14
22
  <a class="close-reveal-modal" aria-label="Close">&#215;</a>
15
23
  </div>
@@ -62,5 +62,4 @@ end
62
62
  require_relative "libs"
63
63
  require_relative "rails_db/engine"
64
64
  require_relative "rails/routes"
65
- require_relative "ext/simple_form_ext"
66
- require_relative "ext/ransack_ext"
65
+ require_relative "ext/simple_form_ext"
@@ -1,3 +1,3 @@
1
1
  module RailsDb
2
- VERSION = "2.2.1"
2
+ VERSION = "2.3.0"
3
3
  end
@@ -21,15 +21,15 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency 'terminal-table'
22
22
  s.add_dependency 'simple_form', '>= 5.0.1'
23
23
  s.add_dependency 'activerecord'
24
- s.add_dependency 'ransack'
24
+ s.add_dependency 'ransack', '>= 2.3.2'
25
25
  s.add_dependency 'kaminari'
26
26
 
27
27
  s.add_development_dependency "launchy"
28
28
  s.add_development_dependency "sqlite3", '~> 1.3.6'
29
29
  s.add_development_dependency "mysql2", '<= 0.3.20'
30
30
  s.add_development_dependency "pg"
31
- s.add_development_dependency "axlsx_rails"
32
- s.add_development_dependency 'will_paginate', '~> 3.0.6'
31
+ s.add_development_dependency "caxlsx_rails"
32
+ s.add_development_dependency 'will_paginate', '>= 3.1.0'
33
33
  s.add_development_dependency 'mime-types', '< 3.0'
34
34
  s.add_development_dependency 'paranoia'
35
35
  s.add_development_dependency 'pry-rails'
@@ -1,5 +1,5 @@
1
1
  require 'test_helper'
2
- require 'axlsx_rails'
2
+ require 'caxlsx_rails'
3
3
 
4
4
  class DashboardControllerTest < ActionDispatch::IntegrationTest
5
5
 
@@ -21,6 +21,8 @@ module Dummy
21
21
  # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
22
22
  # config.time_zone = 'Central Time (US & Canada)'
23
23
 
24
+ config.hosts.clear
25
+
24
26
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
25
27
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
26
28
  # config.i18n.default_locale = :de
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'rails'
4
4
  gem 'terminal-table'
5
- gem 'axlsx_rails'
5
+ gem 'caxlsx_rails'
6
6
  gem 'simple_form'
7
7
  gem 'ransack'
8
8
  gem 'kaminari'
@@ -1,3 +1,2 @@
1
- //= link_tree ../images
2
1
  //= link_directory ../javascripts .js
3
2
  //= link_directory ../stylesheets .css
@@ -1,5 +1,10 @@
1
1
  class ApplicationController < ActionController::Base
2
+ # rescue_from Exception, :with => :error_generic
2
3
  # Prevent CSRF attacks by raising an exception.
3
4
  # For APIs, you may want to use :null_session instead.
4
5
  protect_from_forgery with: :exception
6
+
7
+ # def error_generic(ex)
8
+ # binding.pry
9
+ # end
5
10
  end
@@ -34,6 +34,11 @@ module Dummy
34
34
  # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
35
35
  # config.time_zone = 'Central Time (US & Canada)'
36
36
 
37
+ config.hosts.clear rescue nil
38
+
39
+ # config.logger = ::Logger.new($stdout)
40
+ # config.logger.level = ::Logger::DEBUG
41
+
37
42
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
38
43
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
39
44
  # config.i18n.default_locale = :de
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kasyanchuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2020-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 2.3.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 2.3.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: kaminari
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -151,7 +151,7 @@ dependencies:
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: axlsx_rails
154
+ name: caxlsx_rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ">="
@@ -168,16 +168,16 @@ dependencies:
168
168
  name: will_paginate
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - "~>"
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
- version: 3.0.6
173
+ version: 3.1.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - "~>"
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 3.0.6
180
+ version: 3.1.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: mime-types
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -451,7 +451,6 @@ files:
451
451
  - config/initializers/will_paginate_fix.rb
452
452
  - config/locales/simple_form.en.yml
453
453
  - config/routes.rb
454
- - lib/ext/ransack_ext.rb
455
454
  - lib/ext/simple_form_ext.rb
456
455
  - lib/ext/string_ext.rb
457
456
  - lib/generators/USAGE
@@ -554,6 +553,7 @@ files:
554
553
  - test/dummy/db/rails_db.sqlite3
555
554
  - test/dummy/db/rails_db_dev.sqlite3
556
555
  - test/dummy/db/schema.rb
556
+ - test/dummy/db/test.sqlite3
557
557
  - test/dummy/public/404.html
558
558
  - test/dummy/public/422.html
559
559
  - test/dummy/public/500.html
@@ -646,153 +646,153 @@ required_rubygems_version: !ruby/object:Gem::Requirement
646
646
  - !ruby/object:Gem::Version
647
647
  version: '0'
648
648
  requirements: []
649
- rubyforge_project:
650
- rubygems_version: 2.7.6.2
649
+ rubygems_version: 3.0.6
651
650
  signing_key:
652
651
  specification_version: 4
653
652
  summary: Inspect your Rails DB (table content viewer, execute sql queries, export
654
653
  & import data
655
654
  test_files:
656
- - test/sql_import_test.rb
657
- - test/table_test.rb
658
655
  - test/test_sql_mysql.sql
659
- - test/dummy/db/schema.rb
660
- - test/dummy/db/rails_db_dev.sqlite3
661
- - test/dummy/db/migrate/20151027223149_add_non_pk_table.rb
662
- - test/dummy/db/migrate/20151014074655_create_contacts.rb
663
- - test/dummy/db/migrate/20151027192250_create_payments.rb
664
- - test/dummy/db/migrate/20151014074454_create_accounts.rb
665
- - test/dummy/db/migrate/20151015145740_populate_db.rb
666
- - test/dummy/db/migrate/20151014152932_add_bd.rb
667
- - test/dummy/db/migrate/20180528134358_add_deleted_at_to_projects.rb
668
- - test/dummy/db/migrate/20151028191429_create_legacy_accounts.rb
669
- - test/dummy/db/migrate/20151013204027_populate_data.rb
670
- - test/dummy/db/migrate/20151013203757_create_comments.rb
671
- - test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
672
- - test/dummy/db/migrate/20151014183823_create_projects.rb
673
- - test/dummy/db/migrate/20170126124628_add_sti_model.rb
674
- - test/dummy/db/migrate/20151013203739_create_users.rb
675
- - test/dummy/db/migrate/20151014184243_add_long_text.rb
676
- - test/dummy/db/rails_db.sqlite3
677
- - test/dummy/README.rdoc
678
- - test/dummy/Rakefile
679
- - test/dummy/test/fixtures/legacy_accounts.yml
680
- - test/dummy/test/fixtures/users.yml
681
- - test/dummy/test/fixtures/contacts.yml
682
- - test/dummy/test/fixtures/projects.yml
683
- - test/dummy/test/fixtures/comments.yml
684
- - test/dummy/test/fixtures/accounts.yml
685
- - test/dummy/test/models/project_test.rb
686
- - test/dummy/test/models/user_test.rb
687
- - test/dummy/test/models/comment_test.rb
688
- - test/dummy/test/models/legacy_account_test.rb
689
- - test/dummy/test/models/contact_test.rb
690
- - test/dummy/test/models/account_test.rb
691
- - test/dummy/app/assets/javascripts/application.js
692
- - test/dummy/app/assets/stylesheets/bootstrap-theme.min.css
693
- - test/dummy/app/assets/stylesheets/bootstrap.min.css
694
- - test/dummy/app/assets/stylesheets/application.css
695
- - test/dummy/app/assets/fonts/glyphicons-halflings-regular.eot
696
- - test/dummy/app/assets/fonts/glyphicons-halflings-regular.svg
697
- - test/dummy/app/assets/fonts/glyphicons-halflings-regular.woff2
698
- - test/dummy/app/assets/fonts/glyphicons-halflings-regular.ttf
699
- - test/dummy/app/assets/fonts/glyphicons-halflings-regular.woff
700
- - test/dummy/app/assets/config/manifest.js
701
- - test/dummy/app/helpers/application_helper.rb
702
- - test/dummy/app/views/home/index.html.erb
703
- - test/dummy/app/views/layouts/application.html.erb
704
- - test/dummy/app/models/project.rb
705
- - test/dummy/app/models/customer.rb
706
- - test/dummy/app/models/comment.rb
707
- - test/dummy/app/models/account.rb
708
- - test/dummy/app/models/contact.rb
709
- - test/dummy/app/models/populate.rb
710
- - test/dummy/app/models/legacy_account.rb
711
- - test/dummy/app/models/payment.rb
712
- - test/dummy/app/models/user.rb
713
- - test/dummy/app/controllers/application_controller.rb
714
- - test/dummy/app/controllers/home_controller.rb
715
- - test/dummy/bin/rake
716
- - test/dummy/bin/setup
717
- - test/dummy/bin/bundle
718
- - test/dummy/bin/rails
719
- - test/dummy/config/boot.rb
720
- - test/dummy/config/application.rb
721
- - test/dummy/config/database.yml
722
- - test/dummy/config/environments/production.rb
723
- - test/dummy/config/environments/test.rb
724
- - test/dummy/config/environments/development.rb
725
- - test/dummy/config/routes.rb
726
- - test/dummy/config/locales/en.yml
727
- - test/dummy/config/secrets.yml
728
- - test/dummy/config/initializers/session_store.rb
729
- - test/dummy/config/initializers/inflections.rb
730
- - test/dummy/config/initializers/rails_db.rb
731
- - test/dummy/config/initializers/mime_types.rb
732
- - test/dummy/config/initializers/wrap_parameters.rb
733
- - test/dummy/config/initializers/backtrace_silencers.rb
734
- - test/dummy/config/initializers/filter_parameter_logging.rb
735
- - test/dummy/config/initializers/assets.rb
736
- - test/dummy/config/initializers/cookies_serializer.rb
737
- - test/dummy/config/environment.rb
738
- - test/dummy/config.ru
739
- - test/dummy/public/500.html
740
- - test/dummy/public/favicon.ico
741
- - test/dummy/public/404.html
742
- - test/dummy/public/422.html
743
- - test/dashboard_controller_test.rb
744
- - test/rails_db_data_table_helper_test.rb
745
- - test/database_test.rb
746
- - test/test_sql_sqlite.sql
656
+ - test/sql_import_test.rb
747
657
  - test/test_sql_postgres.sql
748
- - test/rails_db_test.rb
658
+ - test/database_test.rb
749
659
  - test/standalone/Gemfile.lock
750
- - test/standalone/README.rdoc
751
- - test/standalone/Rakefile
660
+ - test/standalone/app/helpers/application_helper.rb
752
661
  - test/standalone/app/assets/javascripts/application.js
753
- - test/standalone/app/assets/stylesheets/bootstrap-theme.min.css
754
- - test/standalone/app/assets/stylesheets/bootstrap.min.css
755
- - test/standalone/app/assets/stylesheets/application.css
756
- - test/standalone/app/assets/fonts/glyphicons-halflings-regular.eot
662
+ - test/standalone/app/assets/config/manifest.js
663
+ - test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff
664
+ - test/standalone/app/assets/fonts/glyphicons-halflings-regular.ttf
757
665
  - test/standalone/app/assets/fonts/glyphicons-halflings-regular.svg
666
+ - test/standalone/app/assets/fonts/glyphicons-halflings-regular.eot
758
667
  - test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff2
759
- - test/standalone/app/assets/fonts/glyphicons-halflings-regular.ttf
760
- - test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff
761
- - test/standalone/app/assets/config/manifest.js
762
- - test/standalone/app/helpers/application_helper.rb
668
+ - test/standalone/app/assets/stylesheets/bootstrap.min.css
669
+ - test/standalone/app/assets/stylesheets/bootstrap-theme.min.css
670
+ - test/standalone/app/assets/stylesheets/application.css
763
671
  - test/standalone/app/views/home/index.html.erb
764
672
  - test/standalone/app/views/layouts/application.html.erb
765
673
  - test/standalone/app/controllers/application_controller.rb
766
674
  - test/standalone/app/controllers/home_controller.rb
767
- - test/standalone/bin/rake
768
- - test/standalone/bin/setup
769
- - test/standalone/bin/bundle
770
- - test/standalone/bin/rails
675
+ - test/standalone/public/404.html
676
+ - test/standalone/public/favicon.ico
677
+ - test/standalone/public/500.html
678
+ - test/standalone/public/422.html
771
679
  - test/standalone/config/boot.rb
772
- - test/standalone/config/application.rb
773
680
  - test/standalone/config/database.yml
774
- - test/standalone/config/environments/production.rb
775
- - test/standalone/config/environments/test.rb
776
- - test/standalone/config/environments/development.rb
777
- - test/standalone/config/routes.rb
681
+ - test/standalone/config/application.rb
778
682
  - test/standalone/config/locales/en.yml
683
+ - test/standalone/config/routes.rb
684
+ - test/standalone/config/environments/development.rb
685
+ - test/standalone/config/environments/test.rb
686
+ - test/standalone/config/environments/production.rb
779
687
  - test/standalone/config/secrets.yml
688
+ - test/standalone/config/environment.rb
780
689
  - test/standalone/config/initializers/session_store.rb
690
+ - test/standalone/config/initializers/cookies_serializer.rb
781
691
  - test/standalone/config/initializers/inflections.rb
782
- - test/standalone/config/initializers/rails_db.rb
692
+ - test/standalone/config/initializers/backtrace_silencers.rb
783
693
  - test/standalone/config/initializers/mime_types.rb
694
+ - test/standalone/config/initializers/assets.rb
695
+ - test/standalone/config/initializers/rails_db.rb
784
696
  - test/standalone/config/initializers/wrap_parameters.rb
785
- - test/standalone/config/initializers/backtrace_silencers.rb
786
697
  - test/standalone/config/initializers/filter_parameter_logging.rb
787
- - test/standalone/config/initializers/assets.rb
788
- - test/standalone/config/initializers/cookies_serializer.rb
789
- - test/standalone/config/environment.rb
698
+ - test/standalone/Rakefile
790
699
  - test/standalone/config.ru
791
- - test/standalone/public/500.html
792
- - test/standalone/public/favicon.ico
793
- - test/standalone/public/404.html
794
- - test/standalone/public/422.html
700
+ - test/standalone/bin/rails
701
+ - test/standalone/bin/rake
702
+ - test/standalone/bin/bundle
703
+ - test/standalone/bin/setup
795
704
  - test/standalone/Gemfile
796
- - test/tables_helper_test.rb
705
+ - test/standalone/README.rdoc
797
706
  - test/test_helper.rb
707
+ - test/dummy/app/helpers/application_helper.rb
708
+ - test/dummy/app/models/user.rb
709
+ - test/dummy/app/models/contact.rb
710
+ - test/dummy/app/models/customer.rb
711
+ - test/dummy/app/models/populate.rb
712
+ - test/dummy/app/models/payment.rb
713
+ - test/dummy/app/models/legacy_account.rb
714
+ - test/dummy/app/models/project.rb
715
+ - test/dummy/app/models/account.rb
716
+ - test/dummy/app/models/comment.rb
717
+ - test/dummy/app/assets/javascripts/application.js
718
+ - test/dummy/app/assets/config/manifest.js
719
+ - test/dummy/app/assets/fonts/glyphicons-halflings-regular.woff
720
+ - test/dummy/app/assets/fonts/glyphicons-halflings-regular.ttf
721
+ - test/dummy/app/assets/fonts/glyphicons-halflings-regular.svg
722
+ - test/dummy/app/assets/fonts/glyphicons-halflings-regular.eot
723
+ - test/dummy/app/assets/fonts/glyphicons-halflings-regular.woff2
724
+ - test/dummy/app/assets/stylesheets/bootstrap.min.css
725
+ - test/dummy/app/assets/stylesheets/bootstrap-theme.min.css
726
+ - test/dummy/app/assets/stylesheets/application.css
727
+ - test/dummy/app/views/home/index.html.erb
728
+ - test/dummy/app/views/layouts/application.html.erb
729
+ - test/dummy/app/controllers/application_controller.rb
730
+ - test/dummy/app/controllers/home_controller.rb
731
+ - test/dummy/public/404.html
732
+ - test/dummy/public/favicon.ico
733
+ - test/dummy/public/500.html
734
+ - test/dummy/public/422.html
735
+ - test/dummy/config/boot.rb
736
+ - test/dummy/config/database.yml
737
+ - test/dummy/config/application.rb
738
+ - test/dummy/config/locales/en.yml
739
+ - test/dummy/config/routes.rb
740
+ - test/dummy/config/environments/development.rb
741
+ - test/dummy/config/environments/test.rb
742
+ - test/dummy/config/environments/production.rb
743
+ - test/dummy/config/secrets.yml
744
+ - test/dummy/config/environment.rb
745
+ - test/dummy/config/initializers/session_store.rb
746
+ - test/dummy/config/initializers/cookies_serializer.rb
747
+ - test/dummy/config/initializers/inflections.rb
748
+ - test/dummy/config/initializers/backtrace_silencers.rb
749
+ - test/dummy/config/initializers/mime_types.rb
750
+ - test/dummy/config/initializers/assets.rb
751
+ - test/dummy/config/initializers/rails_db.rb
752
+ - test/dummy/config/initializers/wrap_parameters.rb
753
+ - test/dummy/config/initializers/filter_parameter_logging.rb
754
+ - test/dummy/Rakefile
755
+ - test/dummy/db/schema.rb
756
+ - test/dummy/db/test.sqlite3
757
+ - test/dummy/db/rails_db.sqlite3
758
+ - test/dummy/db/rails_db_dev.sqlite3
759
+ - test/dummy/db/migrate/20151014183823_create_projects.rb
760
+ - test/dummy/db/migrate/20170126124628_add_sti_model.rb
761
+ - test/dummy/db/migrate/20151014074454_create_accounts.rb
762
+ - test/dummy/db/migrate/20151015145740_populate_db.rb
763
+ - test/dummy/db/migrate/20151014184243_add_long_text.rb
764
+ - test/dummy/db/migrate/20180528134358_add_deleted_at_to_projects.rb
765
+ - test/dummy/db/migrate/20151013204027_populate_data.rb
766
+ - test/dummy/db/migrate/20151014152932_add_bd.rb
767
+ - test/dummy/db/migrate/20151013203739_create_users.rb
768
+ - test/dummy/db/migrate/20151013203757_create_comments.rb
769
+ - test/dummy/db/migrate/20151027192250_create_payments.rb
770
+ - test/dummy/db/migrate/20151028191429_create_legacy_accounts.rb
771
+ - test/dummy/db/migrate/20151027223149_add_non_pk_table.rb
772
+ - test/dummy/db/migrate/20151014074655_create_contacts.rb
773
+ - test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
774
+ - test/dummy/config.ru
775
+ - test/dummy/bin/rails
776
+ - test/dummy/bin/rake
777
+ - test/dummy/bin/bundle
778
+ - test/dummy/bin/setup
779
+ - test/dummy/test/fixtures/users.yml
780
+ - test/dummy/test/fixtures/accounts.yml
781
+ - test/dummy/test/fixtures/projects.yml
782
+ - test/dummy/test/fixtures/comments.yml
783
+ - test/dummy/test/fixtures/legacy_accounts.yml
784
+ - test/dummy/test/fixtures/contacts.yml
785
+ - test/dummy/test/models/comment_test.rb
786
+ - test/dummy/test/models/account_test.rb
787
+ - test/dummy/test/models/contact_test.rb
788
+ - test/dummy/test/models/legacy_account_test.rb
789
+ - test/dummy/test/models/project_test.rb
790
+ - test/dummy/test/models/user_test.rb
791
+ - test/dummy/README.rdoc
798
792
  - test/sql_query_test.rb
793
+ - test/dashboard_controller_test.rb
794
+ - test/tables_helper_test.rb
795
+ - test/test_sql_sqlite.sql
796
+ - test/rails_db_test.rb
797
+ - test/table_test.rb
798
+ - test/rails_db_data_table_helper_test.rb
@@ -1,26 +0,0 @@
1
- if Rails::VERSION::MAJOR >= 5
2
-
3
- module Ransack
4
- module Helpers
5
- module FormHelper
6
-
7
- class SortLink
8
-
9
- def url_options_with_feature
10
- result = url_options_without_feature
11
- if result.respond_to?(:permit!)
12
- result.permit!
13
- else
14
- result
15
- end
16
- end
17
-
18
- alias_method :url_options_without_feature, :url_options
19
- alias_method :url_options, :url_options_with_feature
20
- end
21
-
22
- end
23
- end
24
- end
25
-
26
- end