config.activerecord.whitelist_attributes isn't used anymore, remove reference from abstract_unit
This commit is contained in:
parent
7d3be7e0b5
commit
4b608c009e
@ -253,9 +253,6 @@ def controller(name, contents)
|
||||
def use_frameworks(arr)
|
||||
to_remove = [:actionmailer,
|
||||
:activerecord] - arr
|
||||
if to_remove.include? :activerecord
|
||||
remove_from_config "config.active_record.whitelist_attributes = true"
|
||||
end
|
||||
$:.reject! {|path| path =~ %r'/(#{to_remove.join('|')})/' }
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user