Learned about pages controller in Ruby