Skip to content

Commit

Permalink
Remove jquery-validation-rails gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed Feb 28, 2018
1 parent bf42238 commit b72bc2a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 29 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ gem 'sass-rails', '5.0.6' # sass style
gem 'coffee-rails', '4.1.0' # coffeescript support
gem 'jquery-rails', '4.0.4' # jquery
gem 'selectize-rails', '0.12.1' # include selectize.js for select
gem 'jquery-validation-rails', '1.13.1' # validate on client side

# view helpers
gem 'kaminari', '0.16.3' # pagination
Expand Down
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,6 @@ GEM
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
jquery-validation-rails (1.13.1)
railties (>= 3.2, < 5.0)
thor (~> 0.14)
json (1.8.6)
kaminari (0.16.3)
actionpack (>= 3.0.0)
Expand Down Expand Up @@ -508,7 +505,6 @@ DEPENDENCIES
jbuilder (= 2.2.16)
jquery-rails (= 4.0.4)
jquery-ui-rails (= 5.0.5)
jquery-validation-rails (= 1.13.1)
kaminari (= 0.16.3)
liquid (= 3.0.6)
mina (= 0.3.1)
Expand Down
1 change: 0 additions & 1 deletion app/assets/javascripts/admin-manifest.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#= require admin/autocomplete
#= require jquery.nested_attributes
#= require selectize
#= require shared/jquery.validate.bootstrap
#= require jquery-ui/datepicker
#= require select2
#= require jquery.doubleScroll
Expand Down
4 changes: 0 additions & 4 deletions app/assets/javascripts/admin/application.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ $(window).load ->
allowEmptyOption: true, create: true
})

# client side validate all forms
$('form').each ->
$(this).validate()

$('[data-toggle="popover"]').popover()

# doublescroll
Expand Down
19 changes: 0 additions & 19 deletions app/assets/javascripts/shared/jquery.validate.bootstrap.coffee

This file was deleted.

0 comments on commit b72bc2a

Please sign in to comment.