File: protected_attributes.rb

package info (click to toggle)
ruby-protected-attributes 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 304 kB
  • ctags: 382
  • sloc: ruby: 1,977; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "active_model/mass_assignment_security"
require "protected_attributes/railtie" if defined? Rails
require "protected_attributes/version"

ActiveSupport.on_load :active_record do
  require "active_record/mass_assignment_security"
end

ActiveSupport.on_load :action_controller do
  require "action_controller/accessible_params_wrapper"
end

module ProtectedAttributes
end