Permalink
Browse files

config.activerecord.whitelist_attributes isn't used anymore, remove r…

…eference from abstract_unit
  • Loading branch information...
1 parent 7d3be7e commit 4b608c009e155d79532a00b97ac0ec524d7ad849 @guilleiguaran guilleiguaran committed Jul 22, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 railties/test/isolation/abstract_unit.rb
View
3 railties/test/isolation/abstract_unit.rb
@@ -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

0 comments on commit 4b608c0

Please sign in to comment.