module RailsSettings
Constants
- VERSION
Public Class Methods
can_protect_attributes?()
click to toggle source
In Rails 4, attributes can be protected by using the gem `protected_attributes` In Rails 5, protecting attributes is obsolete (there are `StrongParameters` only)
# File lib/rails-settings.rb, line 4 def self.can_protect_attributes? defined?(ProtectedAttributes) end