Update views_generator.rb