Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unneeded files

  • Loading branch information...
commit 1e7c68c59d18d6056451d7cf7464c78e53679b00 1 parent e84ff82
@rafaelfranca rafaelfranca authored
View
16 lib/active_model/forbidden_attributes_protection.rb
@@ -1,16 +0,0 @@
-module ActiveModel
- class ForbiddenAttributes < StandardError
- end
-
- module ForbiddenAttributesProtection
- def sanitize_for_mass_assignment(new_attributes, options = {})
- if !new_attributes.respond_to?(:permitted?) || (new_attributes.respond_to?(:permitted?) && new_attributes.permitted?)
- super
- else
- raise ActiveModel::ForbiddenAttributes
- end
- end
- end
-end
-
-ActiveModel.autoload :ForbiddenAttributesProtection
View
1  lib/routing_concerns.rb
@@ -1,2 +1 @@
require 'action_dispatch/routing/concerns'
-require 'routing_concerns/railtie'
View
1  lib/routing_concerns/railtie.rb
@@ -1 +0,0 @@
-require 'rails/railtie'
Please sign in to comment.
Something went wrong with that request. Please try again.