Update to Rails 4 RC2 and query-rails 3