update gems
using not of relation.
add scope 'active'
Change syntax hash
update routes.rb
Using % literal of symbol