Reversed back to rails 4.2.0.beta2 and arel 6.0.0.beta2 because of problems with RSpec