Skip to content
Browse files

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

…eference from abstract_unit
  • Loading branch information...
1 parent bd96e75 commit deb99a0bea06d3769930f767e9b29e3a536aaeca @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
@@ -251,9 +251,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 deb99a0

Please sign in to comment.
Something went wrong with that request. Please try again.